diff src/dmres.c @ 1144:7842e977d3df

Use DM_WINDOWS check here instead of _WIN32.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Mar 2015 02:35:21 +0200
parents 320dcfd1bd75
children 6f7503231c17
line wrap: on
line diff
--- a/src/dmres.c	Thu Mar 05 02:34:50 2015 +0200
+++ b/src/dmres.c	Thu Mar 05 02:35:21 2015 +0200
@@ -321,9 +321,9 @@
 
 
 // Some mingw/windows headers define these as macros, which is bad for us
-#ifdef __WIN32
-#undef ferror
-#undef feof
+#ifdef DM_WINDOWS
+#  undef ferror
+#  undef feof
 #endif