mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
MinGW does not need MSVC hack.
Both MinGW and MSVC provide _WIN32 macro.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user