aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/util.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 350b18079..c0857e5a2 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-28 David Shaw <[email protected]>
+
+ * util.h: s/__MINGW32__/_WIN32/ to help building on native Windows
+ compilers. Requested by Brian Gladman. From Werner on stable
+ branch.
+
2003-07-10 David Shaw <[email protected]>
* types.h: Prefer using uint64_t when creating a 64-bit unsigned
diff --git a/include/util.h b/include/util.h
index 978b37eed..179f05f16 100644
--- a/include/util.h
+++ b/include/util.h
@@ -20,7 +20,7 @@
#ifndef G10_UTIL_H
#define G10_UTIL_H
-#if defined (__MINGW32__) || defined (__CYGWIN32__)
+#if defined (_WIN32) || defined (__CYGWIN32__)
#include <stdarg.h>
#endif
@@ -233,7 +233,7 @@ int strncasecmp (const char *, const char *b, size_t n);
#define memmove(d, s, n) bcopy((s), (d), (n))
#endif
-#if defined (__MINGW32__)
+#if defined (_WIN32)
/*-- w32reg.c --*/
char *read_w32_registry_string( const char *root,
const char *dir, const char *name );