summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorrpj <rpj>2004-05-17 01:38:02 +0000
committerrpj <rpj>2004-05-17 01:38:02 +0000
commit771465fed0cf50ee2dd790723245fc091699c324 (patch)
treed8c18d095a33fe7c4564bd90c5f313bb9e4057dd /config.h
parent8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff)
re-indentation, bug fixes, hooks for pre-emptive async cancelation
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