File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed 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)
420
420
return cur_cp ;
421
421
}/*}}}*/
422
422
423
- PW32CP BOOL php_win32_cp_use_unicode (void )
423
+ PW32CP bool php_win32_cp_use_unicode (void )
424
424
{/*{{{*/
425
425
return 65001 == cur_cp -> id ;
426
426
}/*}}}*/
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ extern "C" {
27
27
# define PW32CP __declspec(dllimport)
28
28
#endif
29
29
30
+ #include <stddef.h>
31
+ #include <stdbool.h>
32
+ #include <wchar.h>
33
+ #include <IntSafe.h>
34
+
30
35
#define PHP_WIN32_CP_IGNORE_LEN (0)
31
36
#define PHP_WIN32_CP_IGNORE_LEN_P ((size_t *)-1)
32
37
@@ -40,7 +45,7 @@ struct php_win32_cp {
40
45
char * desc ;
41
46
};
42
47
43
- PW32CP BOOL php_win32_cp_use_unicode (void );
48
+ PW32CP bool php_win32_cp_use_unicode (void );
44
49
PW32CP const struct php_win32_cp * php_win32_cp_do_setup (const char * );
45
50
#define php_win32_cp_setup () php_win32_cp_do_setup(NULL)
46
51
PW32CP const struct php_win32_cp * php_win32_cp_do_update (const char * );
You can’t perform that action at this time.
0 commit comments