Commit 5553fc00 authored by Robert Bradshaw's avatar Robert Bradshaw

solaris + gcc fix

parent ce9b5703
...@@ -1063,6 +1063,11 @@ proto=""" ...@@ -1063,6 +1063,11 @@ proto="""
#include <complex.h> #include <complex.h>
#endif #endif
#endif #endif
#if CYTHON_CCOMPLEX && !defined(__cplusplus) && defined(__sun__) && defined(__GNUC__)
#undef _Complex_I
#define _Complex_I 1.0fj
#endif
""") """)
complex_real_imag_utility_code = UtilityCode( complex_real_imag_utility_code = UtilityCode(
......
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