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

This commit is contained in:
Alexandre Julliard 2010-04-16 12:01:35 +02:00
parent da57adf271
commit d4880b7a1f
2 changed files with 3 additions and 3 deletions

View File

@ -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.@)

View File

@ -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;