Fix build on WEC2013
Based on patch from Björn Breitmeyer
This commit is contained in:
parent
e8fd83932a
commit
855a5d7cb8
|
@ -123,8 +123,10 @@
|
|||
/* Some things not defined on Windows CE. */
|
||||
# define strdup _strdup
|
||||
# define getenv(Name) NULL
|
||||
# define setlocale(Category, Locale) "C"
|
||||
# if _WIN32_WCE < 0x800
|
||||
# define setlocale(Category, Locale) "C"
|
||||
static int errno = 0; /* Use something better? */
|
||||
# endif
|
||||
# elif defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP)
|
||||
# define getenv(Name) NULL
|
||||
# endif
|
||||
|
|
Loading…
Reference in New Issue