summaryrefslogtreecommitdiffstats
path: root/doc/mkdefsinc.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-09-28 18:12:44 +0200
committerWerner Koch <wk@gnupg.org>2015-09-28 18:40:38 +0200
commit348acbe18adc895ee9d6b7a501969ea378d0a2bf (patch)
tree88801196814414fbdac87c2bfbb84af8694738a9 /doc/mkdefsinc.c
parentcommon: Change calling convention for gnupg_spawn_process. (diff)
downloadgnupg2-348acbe18adc895ee9d6b7a501969ea378d0a2bf.tar.xz
gnupg2-348acbe18adc895ee9d6b7a501969ea378d0a2bf.zip
doc,w32: Fix compiler warnings.
--
Diffstat (limited to 'doc/mkdefsinc.c')
-rw-r--r--doc/mkdefsinc.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/mkdefsinc.c b/doc/mkdefsinc.c
index 9e1733293..6495585d1 100644
--- a/doc/mkdefsinc.c
+++ b/doc/mkdefsinc.c
@@ -31,9 +31,15 @@
values are not valid for the build platform but we need some values
nevertheless. */
#include "config.h"
-/* When building for Windows some -D macros are not available. We
- provide replacements here. */
+/* When building for Windows the -D macros do not have appropriate
+ values. We provide replacements here. */
#ifdef HAVE_W32_SYSTEM
+# undef GNUPG_BINDIR
+# undef GNUPG_LIBEXECDIR
+# undef GNUPG_LIBDIR
+# undef GNUPG_DATADIR
+# undef GNUPG_SYSCONFDIR
+# undef GNUPG_LOCALSTATEDIR
# define GNUPG_BINDIR "INSTDIR/bin"
# define GNUPG_LIBEXECDIR "INSTDIR/bin"
# define GNUPG_LIBDIR "INSTDIR/lib/" PACKAGE_NAME