aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-01-22 10:10:25 +0000
committerNick Clifton <nickc@redhat.com>2003-01-22 10:10:25 +0000
commit177a493c21130fd29c06874ee4b768e2eaa7a03c (patch)
tree32377b9d5ad4d1688121473f2f6d4257dbd5b3db
parentcc03ec8004768da5aa88f3fdc4607dd68f81583f (diff)
downloadgdb-177a493c21130fd29c06874ee4b768e2eaa7a03c.zip
gdb-177a493c21130fd29c06874ee4b768e2eaa7a03c.tar.gz
gdb-177a493c21130fd29c06874ee4b768e2eaa7a03c.tar.bz2
Include fopen-bin.h not fopen-same.h for mingw32 hosts.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/as.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bbcb3bb..80db1d4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-22 Nick Clifton <nickc@redhat.com>
+
+ * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts.
+
2003-01-21 Fabio Alemagna <falemagn@aros.org>
* configure.in: Handle *-*-aros*.
diff --git a/gas/as.h b/gas/as.h
index 3d95d14..73b6b2b 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -188,7 +188,7 @@ extern char **environ;
#endif /* __FILE__ */
#ifndef FOPEN_WB
-#ifdef GO32
+#if defined GO32 || defined __MINGW32__
#include "fopen-bin.h"
#else
#include "fopen-same.h"