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 | |
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/ChangeLog | 6 | ||||
-rw-r--r-- | include/util.h | 4 |
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 ); |