From 530afca2d7a1bb4347fcf440f2137fd87f5b5d64 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sun, 7 Feb 2021 15:28:23 +0900 Subject: Move `F(x)` definition inside of `#ifdef`; fix #5330 --- mrbgems/mruby-cmath/src/cmath.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mrbgems/mruby-cmath/src/cmath.c b/mrbgems/mruby-cmath/src/cmath.c index 72217e4cb..8e94d1563 100644 --- a/mrbgems/mruby-cmath/src/cmath.c +++ b/mrbgems/mruby-cmath/src/cmath.c @@ -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__) -- cgit v1.2.3