MinGW does not need MSVC hack.

Both MinGW and MSVC provide _WIN32 macro.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-02-06 19:30:59 +09:00
parent c6c632cf97
commit ef8f475722
+1 -1
View File
@@ -50,7 +50,7 @@ cmath_get_complex(mrb_state *mrb, mrb_value c, mrb_float *r, mrb_float *i)
#endif
#define F(x) x
#ifdef _WIN32
#if defined(_WIN32) && !defined(__MINGW32__)
#ifdef MRB_USE_FLOAT32
typedef _Fcomplex mrb_complex;