revert, remove typedef for _complex, which is used nowhere
This commit is contained in:
parent
80b2f2b164
commit
2de6345a5e
|
|
@ -1,3 +1,8 @@
|
|||
2010-10-09 Robert Larice
|
||||
* src/include/complex.h :
|
||||
!REVERT! remove typedef for _complex, which is used nowhere
|
||||
this breaks MSVC, currently unkown why, FIXME
|
||||
|
||||
2010-10-09 Robert Larice
|
||||
* src/frontend/parse-bison.c ,
|
||||
* src/frontend/parse-bison.h ,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@ struct _complex1 { /* IBM portability... renamed due to double definition in M
|
|||
double cx_imag;
|
||||
} ;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
typedef struct _complex1 _complex;
|
||||
#endif
|
||||
|
||||
typedef struct _complex1 complex;
|
||||
|
||||
#define realpart(cval) ((struct _complex1 *) (cval))->cx_real
|
||||
|
|
|
|||
Loading…
Reference in New Issue