summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/config.h b/config.h
index b20fa6f..4759662 100644
--- a/config.h
+++ b/config.h
@@ -3,6 +3,10 @@
#ifndef PTW32_CONFIG_H
#define PTW32_CONFIG_H
+/*********************************************************************
+ * Defaults: see target specific redefinitions below.
+ *********************************************************************/
+
/* We're building the pthreads-win32 library */
#define PTW32_BUILD
@@ -42,9 +46,13 @@
/* Define if you have the timespec struct */
#undef HAVE_STRUCT_TIMESPEC
-/*
+/* Define if you don't have the GetProcessAffinityMask() */
+#undef NEED_PROCESS_AFFINITY_MASK
+
+
+/*********************************************************************
* Target specific groups
- */
+ *********************************************************************/
#ifdef WINCE
#define NEED_DUPLICATEHANDLE
#define NEED_CREATETHREAD
@@ -53,6 +61,7 @@
#define NEED_FTIME
#define NEED_SEM
#define NEED_UNICODE_CONSTS
+#define NEED_PROCESS_AFFINITY_MASK
#endif
#ifdef _UWIN
@@ -68,4 +77,7 @@
#define HAVE_MODE_T
#endif
+#ifdef __WATCOMC__
+#endif
+
#endif