Include fopen-bin.h not fopen-same.h for mingw32 hosts.
authorNick Clifton <nickc@redhat.com>
Wed, 22 Jan 2003 10:10:25 +0000 (10:10 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 22 Jan 2003 10:10:25 +0000 (10:10 +0000)
gas/ChangeLog
gas/as.h

index bbcb3bb..80db1d4 100644 (file)
@@ -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*.
index 3d95d14..73b6b2b 100644 (file)
--- 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"