From 2de6345a5e69905ee7dcbdb8a46cbdd431a9d550 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 9 Oct 2010 18:46:27 +0000 Subject: [PATCH] revert, remove typedef for _complex, which is used nowhere --- ChangeLog | 5 +++++ src/include/complex.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 751e02521..6fe5cdad8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 , diff --git a/src/include/complex.h b/src/include/complex.h index 23b50ca66..d797faf84 100644 --- a/src/include/complex.h +++ b/src/include/complex.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