From 771465fed0cf50ee2dd790723245fc091699c324 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 17 May 2004 01:38:02 +0000 Subject: re-indentation, bug fixes, hooks for pre-emptive async cancelation --- config.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'config.h') 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 -- cgit v1.2.3