changeset 31347:cdc16c6e33be

(_ANONYMOUS_UNION) [__GNUC__]: New define. (_ANONYMOUS_STRUCT) [__GNUC__]: New define.
author Andrew Innes <andrewi@gnu.org>
date Sun, 03 Sep 2000 17:39:34 +0000
parents ca28679520a7
children 3d2f90f25060
files nt/addsection.c nt/preprep.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nt/addsection.c	Sun Sep 03 17:39:21 2000 +0000
+++ b/nt/addsection.c	Sun Sep 03 17:39:34 2000 +0000
@@ -26,6 +26,10 @@
 #include <stdio.h>
 #include <fcntl.h>
 #include <time.h>
+#ifdef __GNUC__
+#define _ANONYMOUS_UNION
+#define _ANONYMOUS_STRUCT
+#endif
 #include <windows.h>
 
 /* Include relevant definitions from IMAGEHLP.H, which can be found
--- a/nt/preprep.c	Sun Sep 03 17:39:21 2000 +0000
+++ b/nt/preprep.c	Sun Sep 03 17:39:34 2000 +0000
@@ -26,6 +26,10 @@
 #include <stdio.h>
 #include <fcntl.h>
 #include <time.h>
+#ifdef __GNUC__
+#define _ANONYMOUS_UNION
+#define _ANONYMOUS_STRUCT
+#endif
 #include <windows.h>
 
 /* Include relevant definitions from IMAGEHLP.H, which can be found