[wince] Try to fix some stuff on Windows CE
Based on errors seen here: http://testresults.qt-project.org/ci/QtBase_dev_Integration/build_03837/wince70embedded-armv4i-msvc2008_Windows_7/log.txt.gz Fully untested.
This commit is contained in:
parent
92aeee3f04
commit
26a963b9cb
|
@ -130,6 +130,14 @@
|
|||
# define STRICT
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32_WCE
|
||||
/* Some things not defined on Windows CE. */
|
||||
#define MemoryBarrier()
|
||||
#define getenv(Name) NULL
|
||||
#define setlocale(Category, Locale) "C"
|
||||
static int errno = 0; /* Use something better? */
|
||||
#endif
|
||||
|
||||
#if HAVE_ATEXIT
|
||||
/* atexit() is only safe to be called from shared libraries on certain
|
||||
* platforms. Whitelist.
|
||||
|
|
Loading…
Reference in New Issue