diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-26 10:28:43 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-26 10:28:43 +0000 |
commit | 89261a6c6a337d08799db0ac0d518e62472ccf40 (patch) | |
tree | 4aa730d08b3eefc0cc797fbe45b281e6971794e1 | |
parent | 938af39eb5ebb494561ab6e53d6e8b8aa2d36adf (diff) | |
download | perl-89261a6c6a337d08799db0ac0d518e62472ccf40.tar.gz |
Need to pass a my_perl to S_my_localtime to make threaded builds build.
p4raw-id: //depot/perl@24983
-rw-r--r-- | pp_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4508,7 +4508,7 @@ PP(pp_localtime) } #ifdef LOCALTIME_EDGECASE_BROKEN -static struct tm *S_my_localtime (Time_t *tp) +static struct tm *S_my_localtime (pTHX_ Time_t *tp) { auto time_t T; auto struct tm *P; @@ -4567,7 +4567,7 @@ PP(pp_gmtime) if (PL_op->op_type == OP_LOCALTIME) #ifdef LOCALTIME_EDGECASE_BROKEN - tmbuf = S_my_localtime(&when); + tmbuf = S_my_localtime(aTHX_ &when); #else tmbuf = localtime(&when); #endif |