* util.h: s/__MINGW32__/_WIN32/ to help building on native Windows

compilers.  Requested by Brian Gladman.  From Werner on stable branch.
This commit is contained in:
David Shaw 2003-08-28 23:41:41 +00:00
parent cd06705184
commit 1814e2dbf3
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-08-28 David Shaw <dshaw@jabberwocky.com>
* 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 <dshaw@jabberwocky.com>
* types.h: Prefer using uint64_t when creating a 64-bit unsigned

View File

@ -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 );