summaryrefslogtreecommitdiff
path: root/CCache
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2016-05-29 00:50:00 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2016-05-29 00:50:00 +0100
commit8eb9eebb84849ca2fc2b6f618d9fdae1f346fe4f (patch)
tree964442899bfb45f0a5b1624c4ffb0257aac2a4b7 /CCache
parentdbb64cc4586b8ce2f17e66e04e08a80e028cbc3d (diff)
downloadswig-8eb9eebb84849ca2fc2b6f618d9fdae1f346fe4f.tar.gz
Fix warning compiling with i686-w64-mingw32-gcc
Diffstat (limited to 'CCache')
-rw-r--r--CCache/ccache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/CCache/ccache.h b/CCache/ccache.h
index dcbb03f0c..a79d88322 100644
--- a/CCache/ccache.h
+++ b/CCache/ccache.h
@@ -20,7 +20,9 @@
#include <sys/wait.h>
#include <sys/mman.h>
#else
-#define _WIN32_WINNT 0x0500
+#ifndef _WIN32_WINNT
+ #define _WIN32_WINNT 0x0500
+#endif
#include <windows.h>
#include <shlobj.h>
#endif