Commit d4880b7a authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt: Initialize exported common variables to fix the build on Mac OS.

parent da57adf2
......@@ -55,7 +55,7 @@ WORD MSVCRT__ctype [257] = {
* changes to affect ctypes (i.e. isleadbyte), we use a second table
* and update its flags whenever the current locale changes.
*/
WORD* MSVCRT__pctype;
WORD* MSVCRT__pctype = NULL;
/*********************************************************************
* __pctype_func (MSVCRT.@)
......
......@@ -44,8 +44,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
#define MAX_ELEM_LEN 64 /* Max length of country/language/CP string */
#define MAX_LOCALE_LENGTH 256
MSVCRT__locale_t MSVCRT_locale = NULL;
int MSVCRT___lc_codepage;
int MSVCRT___lc_collate_cp;
int MSVCRT___lc_codepage = 0;
int MSVCRT___lc_collate_cp = 0;
HANDLE MSVCRT___lc_handle[MSVCRT_LC_MAX - MSVCRT_LC_MIN + 1] = { 0 };
unsigned char charmax = CHAR_MAX;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment