summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2014-02-04 00:38:39 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-02-05 04:32:47 -0300
commitdc6d7f5c0d35ddfd7e124c5143d9f0309ca9a149 (patch)
tree9f75f68a9742d7a951cdd6a80c45272311e21caf /regexp.h
parent83d7d07d621fa8abcdb4e3b0a7a6cd7fd002dafa (diff)
downloadperl-dc6d7f5c0d35ddfd7e124c5143d9f0309ca9a149.tar.gz
Avoid compiler warnings by consistently using #ifdef instead of plain #if
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexp.h b/regexp.h
index 45ba87a1be..b6091364ba 100644
--- a/regexp.h
+++ b/regexp.h
@@ -435,7 +435,7 @@ get_regex_charset_name(const U32 flags, STRLEN* const lenp)
*
*/
-#if NO_TAINT_SUPPORT
+#ifdef NO_TAINT_SUPPORT
# define RX_ISTAINTED(prog) 0
# define RX_TAINT_on(prog) NOOP
# define RXp_MATCH_TAINTED(prog) 0