summaryrefslogtreecommitdiff
path: root/perl.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 /perl.h
parent83d7d07d621fa8abcdb4e3b0a7a6cd7fd002dafa (diff)
downloadperl-dc6d7f5c0d35ddfd7e124c5143d9f0309ca9a149.tar.gz
Avoid compiler warnings by consistently using #ifdef instead of plain #if
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index ff00acd0f2..050320964c 100644
--- a/perl.h
+++ b/perl.h
@@ -538,7 +538,7 @@
* DANGER! Using NO_TAINT_SUPPORT or SILENT_NO_TAINT_SUPPORT
* voids your nonexistent warranty!
*/
-#if SILENT_NO_TAINT_SUPPORT && !defined(NO_TAINT_SUPPORT)
+#if defined(SILENT_NO_TAINT_SUPPORT) && !defined(NO_TAINT_SUPPORT)
# define NO_TAINT_SUPPORT 1
#endif
@@ -546,7 +546,7 @@
* operations into no-ops for a very modest speed-up. Enable only if you
* know what you're doing: tests and CPAN modules' tests are bound to fail.
*/
-#if NO_TAINT_SUPPORT
+#ifdef NO_TAINT_SUPPORT
# define TAINT NOOP
# define TAINT_NOT NOOP
# define TAINT_IF(c) NOOP