1
_COMPLEX_DEFINED should be defined for MSVC, otherwise
2
complex is redefined inconsistently in <math.h>.
4
Mail from Akira, 31 Mar 2012 21:36:26.
6
diff -ur pmx-2.6.17.orig/libf2c/f2c.h pmx-2.6.17/libf2c/f2c.h
7
--- pmx-2.6.17.orig/libf2c/f2c.h 2012-03-26 12:09:53.000000000 +0200
8
+++ pmx-2.6.17/libf2c/f2c.h 2012-04-01 14:50:19.000000000 +0200
10
typedef short int shortint;
12
typedef double doublereal;
14
+#define _COMPLEX_DEFINED 1
16
typedef struct { real r, i; } complex;
17
typedef struct { doublereal r, i; } doublecomplex;
18
typedef long int logical;