diff options
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r-- | ext/POSIX/POSIX.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index e52fa5b0e0..3bfeb6c80a 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -1791,7 +1791,7 @@ fix_win32_tzenv(void) perl_tz_env = ""; if (crt_tz_env == NULL) crt_tz_env = ""; - if (strcmp(perl_tz_env, crt_tz_env) != 0) { + if (strNE(perl_tz_env, crt_tz_env)) { newenv = (char*)malloc((strlen(perl_tz_env) + 4) * sizeof(char)); if (newenv != NULL) { sprintf(newenv, "TZ=%s", perl_tz_env); |