diff options
author | David Shaw <[email protected]> | 2003-08-28 23:41:41 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-08-28 23:41:41 +0000 |
commit | 1814e2dbf359171eeddbc36f72f994b512bfcdf7 (patch) | |
tree | 5a6c56eb803ab253fe43c25df47b388e07ec8d6e /include/util.h | |
parent | * dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c, (diff) | |
download | gnupg-1814e2dbf359171eeddbc36f72f994b512bfcdf7.tar.gz gnupg-1814e2dbf359171eeddbc36f72f994b512bfcdf7.zip |
* util.h: s/__MINGW32__/_WIN32/ to help building on native Windows
compilers. Requested by Brian Gladman. From Werner on stable branch.
Diffstat (limited to '')
-rw-r--r-- | include/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |