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 bbcb3bb599eef2e9321d5682c8a1d77b366180d6..80db1d4ff0433699f76311480e52cc32ab46efed 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 3d95d14571528073edfc4b7b7be0254bfc1b7340..73b6b2bcc87fc87039cabe6f697a046d3e78d87b 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"