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 /win32/registry.c | |
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 'win32/registry.c')
-rw-r--r-- | win32/registry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/registry.c b/win32/registry.c index 4f74374e8f..f29de501cf 100644 --- a/win32/registry.c +++ b/win32/registry.c @@ -49,7 +49,7 @@ void UpdateIniFromRegistry(char *path) } - path = p = strtok_r(path, "\\/", &strtok_buf); + path = p = php_strtok_r(path, "\\/", &strtok_buf); while (p) { HKEY hKey; @@ -73,7 +73,7 @@ void UpdateIniFromRegistry(char *path) } RegCloseKey(hKey); - p = strtok_r(NULL, "\\/", &strtok_buf); + p = php_strtok_r(NULL, "\\/", &strtok_buf); } RegCloseKey(MainKey); efree(orig_path); |