aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-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"