]> granicus.if.org Git - yasm/commitdiff
util.h: Use same workarounds for mingw32 as for the GNU C library.
authorPeter Johnson <peter@tortall.net>
Sun, 8 Oct 2006 00:53:10 +0000 (00:53 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 8 Oct 2006 00:53:10 +0000 (00:53 -0000)
svn path=/trunk/yasm/; revision=1645

util.h

diff --git a/util.h b/util.h
index 6a9ebddc304b380628ce152cd5b6b4faafd08f85..01b200f9f95bead18195a23e9795e65408dbcb3a 100644 (file)
--- a/util.h
+++ b/util.h
@@ -34,7 +34,7 @@
 #include <config.h>
 #endif
 
-#ifdef HAVE_GNU_C_LIBRARY
+#if defined(HAVE_GNU_C_LIBRARY) || defined(__MINGW32__)
 
 /* Work around glibc's non-defining of certain things when using gcc -ansi */
 # ifdef __STRICT_ANSI__