mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #5588 from dearblue/cmath+clang++
Fixed compile error for `mrbgems/mruby-cmath` with `clang++`
This commit is contained in:
@@ -92,7 +92,7 @@ CXDIVc(mrb_complex a, mrb_complex b)
|
||||
|
||||
#else
|
||||
|
||||
#if defined(__cplusplus) && defined(__APPLE__)
|
||||
#if defined(__cplusplus) && (defined(__APPLE__) || (defined(__clang__) && (defined(__FreeBSD__) || defined(__OpenBSD__))))
|
||||
|
||||
#ifdef MRB_USE_FLOAT32
|
||||
typedef std::complex<float> mrb_complex;
|
||||
|
||||
Reference in New Issue
Block a user