mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Move F(x) definition inside of #ifdef; fix #5330
This commit is contained in:
@@ -47,8 +47,8 @@ cmath_get_complex(mrb_state *mrb, mrb_value c, mrb_float *r, mrb_float *i)
|
||||
#ifdef MRB_USE_FLOAT32
|
||||
#define F(x) x##f
|
||||
#else
|
||||
#endif
|
||||
#define F(x) x
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
|
||||
@@ -91,7 +91,6 @@ CXDIVc(mrb_complex a, mrb_complex b)
|
||||
return CX(cr, ci);
|
||||
}
|
||||
|
||||
|
||||
#else
|
||||
|
||||
#if defined(__cplusplus) && defined(__APPLE__)
|
||||
|
||||
Reference in New Issue
Block a user