Move F(x) definition inside of #ifdef; fix #5330

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-02-07 15:28:23 +09:00
parent 1cc20978cf
commit 530afca2d7
+1 -2
View File
@@ -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__)