summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2006-10-08 00:53:10 +0000
committerPeter Johnson <peter@tortall.net>2006-10-08 00:53:10 +0000
commit337dcd9b641bc1667e9bc15dc0bba96346c7a2b9 (patch)
tree0688c4393d307782947153732bf8fe8432b30c7d /util.h
parent2c9b5e353a98e1b1c5b8bd4d26190694641710c0 (diff)
downloadyasm-337dcd9b641bc1667e9bc15dc0bba96346c7a2b9.tar.gz
util.h: Use same workarounds for mingw32 as for the GNU C library.
svn path=/trunk/yasm/; revision=1645
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 6a9ebddc..01b200f9 100644
--- 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__