diff options
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,10 @@ */ #include "internal.h" +#if defined _MSC_VER +/* Microsoft Visual C does not define M_PI and others by default */ +# define _USE_MATH_DEFINES 1 +#endif #include <math.h> #define NDEBUG |