提交 125cb083 编写于 作者: B Behdad Esfahbod

Merge pull request #98 from KonstantinRitt/WEC2013

Fix build on WEC2013
......@@ -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.
先完成此消息的编辑!
想要评论请 注册