summaryrefslogtreecommitdiff
path: root/nt/addsection.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2000-09-03 17:39:34 +0000
committerAndrew Innes <andrewi@gnu.org>2000-09-03 17:39:34 +0000
commita1375c9fa78e83b429206800683af7d1e386b783 (patch)
tree85cb3b7e52cdca530c15127e874fd56abd4859b4 /nt/addsection.c
parent49b3bd82e961a5c3a6f685df5016a170c35bb412 (diff)
downloademacs-a1375c9fa78e83b429206800683af7d1e386b783.tar.gz
(_ANONYMOUS_UNION) [__GNUC__]: New define.
(_ANONYMOUS_STRUCT) [__GNUC__]: New define.
Diffstat (limited to 'nt/addsection.c')
-rw-r--r--nt/addsection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nt/addsection.c b/nt/addsection.c
index a07b39de58a..55e83977fb1 100644
--- a/nt/addsection.c
+++ b/nt/addsection.c
@@ -26,6 +26,10 @@ Boston, MA 02111-1307, USA.
#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