diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-02-04 00:38:39 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-02-05 04:32:47 -0300 |
commit | dc6d7f5c0d35ddfd7e124c5143d9f0309ca9a149 (patch) | |
tree | 9f75f68a9742d7a951cdd6a80c45272311e21caf /perl.h | |
parent | 83d7d07d621fa8abcdb4e3b0a7a6cd7fd002dafa (diff) | |
download | perl-dc6d7f5c0d35ddfd7e124c5143d9f0309ca9a149.tar.gz |
Avoid compiler warnings by consistently using #ifdef instead of plain #if
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |