提交 56071886 编写于 作者: B Behdad Esfahbod

Move WinCE define to better place

上级 aee68508
......@@ -121,6 +121,7 @@
# if defined(_WIN32_WCE)
/* Some things not defined on Windows CE. */
# define strdup _strdup
# define getenv(Name) NULL
# define setlocale(Category, Locale) "C"
static int errno = 0; /* Use something better? */
......@@ -129,8 +130,6 @@ static int errno = 0; /* Use something better? */
# endif
# if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
# define snprintf _snprintf
/* Windows CE only has _strdup, while rest of Windows has both. */
# define strdup _strdup
# endif
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册