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 + + * 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 * 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 #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 );