summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-07-17 12:18:23 +0200
committerAnatol Belski <ab@php.net>2016-07-17 12:33:26 +0200
commit2349332b664887474ed2fb09dcdc4c57d8bb2b85 (patch)
tree7dc05d570310c355ba5dc5d1ba21e67621793f0f /sapi/cli/php_cli.c
parent735bec4f4018a4009a37d96489afe941c1ad711a (diff)
downloadphp-git-2349332b664887474ed2fb09dcdc4c57d8bb2b85.tar.gz
correct macro names
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index c3e22113b9..dc92045ae7 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -1360,7 +1360,7 @@ exit_loop:
might be too late though, but this is the earliest place ATW
we can access the internal charset information from PHP. */
argv_wide = CommandLineToArgvW(GetCommandLineW(), &num_args);
- PHP_WIN32_CP_W_TO_A_ARRAY(argv_wide, num_args, argv, argc)
+ PHP_WIN32_CP_W_TO_ANY_ARRAY(argv_wide, num_args, argv, argc)
using_wide_argv = 1;
SetConsoleCtrlHandler(php_cli_win32_ctrl_handler, TRUE);
@@ -1403,7 +1403,7 @@ out:
(void)php_win32_cp_cli_restore();
if (using_wide_argv) {
- PHP_WIN32_FREE_ARRAY(argv, argc);
+ PHP_WIN32_CP_FREE_ARRAY(argv, argc);
LocalFree(argv_wide);
}
argv = argv_save;