summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index d1ea44c..10f8e43 100644
--- a/src/init.c
+++ b/src/init.c
@@ -33,6 +33,12 @@
#ifdef HAVE_W32CE_SYSTEM
# include "mkw32errmap.map.c" /* Generated map_w32codes () */
+# ifndef TLS_OUT_OF_INDEXES
+# define TLS_OUT_OF_INDEXES 0xFFFFFFFF
+# endif
+# ifndef __MINGW32CE__
+# define abort() exit(1)
+# endif
#endif