File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ PW32CP const struct php_win32_cp *php_win32_cp_set_by_id(DWORD id)
420420 return cur_cp ;
421421}/*}}}*/
422422
423- PW32CP BOOL php_win32_cp_use_unicode (void )
423+ PW32CP bool php_win32_cp_use_unicode (void )
424424{/*{{{*/
425425 return 65001 == cur_cp -> id ;
426426}/*}}}*/
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ extern "C" {
2727# define PW32CP __declspec(dllimport)
2828#endif
2929
30+ #include <stddef.h>
31+ #include <stdbool.h>
32+ #include <wchar.h>
33+ #include <IntSafe.h>
34+
3035#define PHP_WIN32_CP_IGNORE_LEN (0)
3136#define PHP_WIN32_CP_IGNORE_LEN_P ((size_t *)-1)
3237
@@ -40,7 +45,7 @@ struct php_win32_cp {
4045 char * desc ;
4146};
4247
43- PW32CP BOOL php_win32_cp_use_unicode (void );
48+ PW32CP bool php_win32_cp_use_unicode (void );
4449PW32CP const struct php_win32_cp * php_win32_cp_do_setup (const char * );
4550#define php_win32_cp_setup () php_win32_cp_do_setup(NULL)
4651PW32CP const struct php_win32_cp * php_win32_cp_do_update (const char * );
You can’t perform that action at this time.
0 commit comments