summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2009-05-14 09:55:15 -0700
committerJan Dubois <jand@activestate.com>2009-05-14 09:55:15 -0700
commit3f66cd9441293fe8889cc565af7cf06351e97088 (patch)
tree1223b19a7bb756736cf2b9b52539d4915840dd5c /pp_ctl.c
parentb1fc363696b1a308e6bce75eb292bacc8f2c9833 (diff)
downloadperl-3f66cd9441293fe8889cc565af7cf06351e97088.tar.gz
WIN32 preprocessor symbols is usually tested with #ifdef, not #if
Doesn't really make a difference as WIN32 is defined as '1' when it is defined, but there is something to be said for consistent usage.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index dc8f0da162..e0c98ba21f 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -4935,7 +4935,7 @@ S_path_is_absolute(const char *name)
PERL_ARGS_ASSERT_PATH_IS_ABSOLUTE;
if (PERL_FILE_IS_ABSOLUTE(name)
-#if WIN32
+#ifdef WIN32
|| (*name == '.' && ((name[1] == '/' ||
(name[1] == '.' && name[2] == '/'))
|| (name[1] == '\\' ||