提交 855a5d7c 编写于 作者: K Konstantin Ritt

Fix build on WEC2013

Based on patch from Björn Breitmeyer
上级 e8fd8393
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册