diff options
author | Jan Dubois <jand@activestate.com> | 2009-05-14 09:55:15 -0700 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2009-05-14 09:55:15 -0700 |
commit | 3f66cd9441293fe8889cc565af7cf06351e97088 (patch) | |
tree | 1223b19a7bb756736cf2b9b52539d4915840dd5c /pp_ctl.c | |
parent | b1fc363696b1a308e6bce75eb292bacc8f2c9833 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] == '\\' || |