diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2008-08-24 16:53:47 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2008-08-24 16:53:47 +0000 |
commit | 851d65f42191b664ba09ce6df72d13db63aab921 (patch) | |
tree | 59609d43e98040da106e564e32382b336a660369 /pcre_internal.h | |
parent | 41687a877dcdcc63d1d53b0648600018ceecb2eb (diff) | |
download | pcre-851d65f42191b664ba09ce6df72d13db63aab921.tar.gz |
Patch to reduce warnings from certain compilers.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@369 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_internal.h')
-rw-r--r-- | pcre_internal.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pcre_internal.h b/pcre_internal.h index 97c62d9..2d2217b 100644 --- a/pcre_internal.h +++ b/pcre_internal.h @@ -559,12 +559,15 @@ variable-length repeat, or a anything other than literal characters. */ #define REQ_CASELESS 0x0100 /* indicates caselessness */ #define REQ_VARY 0x0200 /* reqbyte followed non-literal item */ -/* Miscellaneous definitions */ +/* Miscellaneous definitions. The #ifndef is to pacify compiler warnings in +environments where these macros are defined elsewhere. */ +#ifndef FALSE typedef int BOOL; #define FALSE 0 #define TRUE 1 +#endif /* Escape items that are just an encoding of a particular data value. */ |