revert, remove typedef for _complex, which is used nowhere

This commit is contained in:
rlar 2010-10-09 18:46:27 +00:00
parent 80b2f2b164
commit 2de6345a5e
2 changed files with 9 additions and 0 deletions

View File

@ -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 ,

View File

@ -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