summaryrefslogtreecommitdiff
path: root/g10/gpg.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpg.h')
-rw-r--r--g10/gpg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/gpg.h b/g10/gpg.h
index 9b8b77c..1bad551 100644
--- a/g10/gpg.h
+++ b/g10/gpg.h
@@ -24,6 +24,10 @@
correct value and may be of advantage if we ever have to do
special things. */
+#ifdef HAVE_W32_SYSTEM
+# define WIN32_LEAN_AND_MEAN 1
+#endif
+
#ifdef GPG_ERR_SOURCE_DEFAULT
#error GPG_ERR_SOURCE_DEFAULT already defined
#endif