aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes2000-09-03 17:39:34 +0000
committerAndrew Innes2000-09-03 17:39:34 +0000
commita1375c9fa78e83b429206800683af7d1e386b783 (patch)
tree85cb3b7e52cdca530c15127e874fd56abd4859b4
parent49b3bd82e961a5c3a6f685df5016a170c35bb412 (diff)
downloademacs-a1375c9fa78e83b429206800683af7d1e386b783.tar.gz
emacs-a1375c9fa78e83b429206800683af7d1e386b783.zip
(_ANONYMOUS_UNION) [__GNUC__]: New define.
(_ANONYMOUS_STRUCT) [__GNUC__]: New define.
-rw-r--r--nt/addsection.c4
-rw-r--r--nt/preprep.c4
2 files changed, 8 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.
26#include <stdio.h> 26#include <stdio.h>
27#include <fcntl.h> 27#include <fcntl.h>
28#include <time.h> 28#include <time.h>
29#ifdef __GNUC__
30#define _ANONYMOUS_UNION
31#define _ANONYMOUS_STRUCT
32#endif
29#include <windows.h> 33#include <windows.h>
30 34
31/* Include relevant definitions from IMAGEHLP.H, which can be found 35/* Include relevant definitions from IMAGEHLP.H, which can be found
diff --git a/nt/preprep.c b/nt/preprep.c
index 0c10ab98b82..08a29ae5931 100644
--- a/nt/preprep.c
+++ b/nt/preprep.c
@@ -26,6 +26,10 @@ Boston, MA 02111-1307, USA.
26#include <stdio.h> 26#include <stdio.h>
27#include <fcntl.h> 27#include <fcntl.h>
28#include <time.h> 28#include <time.h>
29#ifdef __GNUC__
30#define _ANONYMOUS_UNION
31#define _ANONYMOUS_STRUCT
32#endif
29#include <windows.h> 33#include <windows.h>
30 34
31/* Include relevant definitions from IMAGEHLP.H, which can be found 35/* Include relevant definitions from IMAGEHLP.H, which can be found