diff options
author | Sascha Schumann <sas@php.net> | 2000-05-04 10:38:17 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-04 10:38:17 +0000 |
commit | d0f3764ee2e10003d9c8ea4a1c17ff0be1303a9b (patch) | |
tree | 10e61089a99c0d3226533f4b15693a45d82a931a /ext/calendar | |
parent | b6e4841ec7bcdc1b4fd3533fd4ffeefdac095d52 (diff) | |
download | php-git-d0f3764ee2e10003d9c8ea4a1c17ff0be1303a9b.tar.gz |
Change reentrancy API to always use the php prefix.
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
Diffstat (limited to 'ext/calendar')
-rw-r--r-- | ext/calendar/cal_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/calendar/cal_unix.c b/ext/calendar/cal_unix.c index f48243669c..3e4398a266 100644 --- a/ext/calendar/cal_unix.c +++ b/ext/calendar/cal_unix.c @@ -45,7 +45,7 @@ PHP_FUNCTION(unixtojd) t = time(NULL); } - ta = localtime_r(&t, &tmbuf); + ta = php_localtime_r(&t, &tmbuf); jdate = GregorianToSdn(ta->tm_year+1900, ta->tm_mon+1,ta->tm_mday); RETURN_LONG(jdate); |