aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2001-12-19 18:04:52 +0000
committerWerner Koch <[email protected]>2001-12-19 18:04:52 +0000
commit8aacd724f764a0b76041714b7df54d82bbe334cd (patch)
treee9323a824fec2f97798c7dc5626d689e049a6e42
parent* g10.c, passphrase.c [CYGWIN32]: Allow this as an alias for MINGW32. (diff)
downloadgnupg-8aacd724f764a0b76041714b7df54d82bbe334cd.tar.gz
gnupg-8aacd724f764a0b76041714b7df54d82bbe334cd.zip
* util.h [CYGWIN32]: Allow this as an alias for MINGW32. Include
stdarg.h because we use the va_list type. By Disastry.
-rw-r--r--include/ChangeLog5
-rw-r--r--include/util.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index bd5ff4ce1..b083e4b24 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-19 Werner Koch <[email protected]>
+
+ * util.h [CYGWIN32]: Allow this as an alias for MINGW32. Include
+ stdarg.h becuase we use the va_list type. By Disastry.
+
2001-09-28 Werner Koch <[email protected]>
* cipher.h (PUBKEY_USAGE_CERT): New.
diff --git a/include/util.h b/include/util.h
index d8263dd0f..b690eca82 100644
--- a/include/util.h
+++ b/include/util.h
@@ -20,6 +20,10 @@
#ifndef G10_UTIL_H
#define G10_UTIL_H
+#if defined (__MINGW32__) || defined (__CYGWIN32__)
+# include <stdarg.>
+#endif
+
#include "types.h"
#include "errors.h"
#include "types.h"
@@ -220,7 +224,7 @@ int strcasecmp( const char *, const char *b);
#define stricmp(a,b) strcasecmp( (a), (b) )
#endif
-#ifdef __MINGW32__
+#if defined (__MINGW32__) || defined (__CYGWIN32__)
/*-- w32reg.c --*/
char *read_w32_registry_string( const char *root,
const char *dir, const char *name );