summaryrefslogtreecommitdiff
path: root/pcre_internal.h
diff options
context:
space:
mode:
authorchpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-22 22:05:03 +0000
committerchpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-22 22:05:03 +0000
commitc6dfcbb31e871b8b8f985a7020b7ddf1bb745bda (patch)
tree59c714dcaba5537c349edb0deb024180b2ff3208 /pcre_internal.h
parentfeb221b61c3bfa2bcfbdc4e4f10c89fe92457a5f (diff)
downloadpcre-c6dfcbb31e871b8b8f985a7020b7ddf1bb745bda.tar.gz
Fix -Wundef warnings when stdint.h is not available
Pointed out by Daniel Richard G. on the mailing list. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1160 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_internal.h')
-rw-r--r--pcre_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_internal.h b/pcre_internal.h
index 99e4b07..9c6375d 100644
--- a/pcre_internal.h
+++ b/pcre_internal.h
@@ -221,9 +221,9 @@ stdint.h is available, include it; it may define INT64_MAX. Systems that do not
have stdint.h (e.g. Solaris) may have inttypes.h. The macro int64_t may be set
by "configure". */
-#if HAVE_STDINT_H
+#if defined HAVE_STDINT_H
#include <stdint.h>
-#elif HAVE_INTTYPES_H
+#elif defined HAVE_INTTYPES_H
#include <inttypes.h>
#endif