summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/registry.c b/win32/registry.c
index 71f1922b5e..43903929ca 100644
--- a/win32/registry.c
+++ b/win32/registry.c
@@ -29,7 +29,7 @@ void UpdateIniFromRegistry(char *path)
char drive_letter;
/* get current working directory and prepend it to the path */
- if (!getcwd(tmp_buf, MAXPATHLEN)) {
+ if (!PHP_GETCWD(tmp_buf, MAXPATHLEN)) {
efree(orig_path);
return;
}