Unverified Commit a0f38005 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5588 from dearblue/cmath+clang++

Fixed compile error for `mrbgems/mruby-cmath` with `clang++`
parents 6bb2af96 f81bc3de
...@@ -92,7 +92,7 @@ CXDIVc(mrb_complex a, mrb_complex b) ...@@ -92,7 +92,7 @@ CXDIVc(mrb_complex a, mrb_complex b)
#else #else
#if defined(__cplusplus) && defined(__APPLE__) #if defined(__cplusplus) && (defined(__APPLE__) || (defined(__clang__) && (defined(__FreeBSD__) || defined(__OpenBSD__))))
#ifdef MRB_USE_FLOAT32 #ifdef MRB_USE_FLOAT32
typedef std::complex<float> mrb_complex; typedef std::complex<float> mrb_complex;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment