WinCE fixes

This commit is contained in:
Guenter Obiltschnig
2012-10-15 09:29:26 +00:00
parent dc11b4aa65
commit b6963f0bc9
10 changed files with 157 additions and 81 deletions

View File

@@ -43,7 +43,6 @@
// Define to enable Windows Unicode (UTF-8) support
#define POCO_WIN32_UTF8
// Define to enable C++11 support
//#define POCO_ENABLE_CPP11
@@ -132,4 +131,10 @@
// #define POCO_NET_NO_IPv6
// Windows CE has no locale support
#if defined(_WIN32_WCE)
#define POCO_NO_LOCALE
#endif
#endif // Foundation_Config_INCLUDED

View File

@@ -50,7 +50,9 @@
#endif
#include <limits>
#include <cmath>
#if !defined(POCO_NO_LOCALE)
#include <locale>
#endif
namespace Poco {

View File

@@ -421,7 +421,9 @@ typedef uLong FAR uLongf;
#ifdef STDC
# ifndef Z_SOLO
# include <sys/types.h> /* for off_t */
# ifndef _WIN32_WCE
# include <sys/types.h> /* for off_t */
# endif
# endif
#endif