aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32ce-add.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32ce-add.h')
-rw-r--r--src/w32ce-add.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/w32ce-add.h b/src/w32ce-add.h
index 83b7538..c6207bb 100644
--- a/src/w32ce-add.h
+++ b/src/w32ce-add.h
@@ -3,5 +3,6 @@
/* Substitute for strerror - this one is thread safe. */
char *_gpg_w32ce_strerror (int err);
-#define strerror(a) _gpg_w32ce_strerror (a)
-
+#ifdef GPG_ERR_ENABLE_ERRNO_MACROS
+# define strerror(a) _gpg_w32ce_strerror (a)
+#endif