6 /*********************************************************************
7 * Defaults: see target specific redefinitions below.
8 *********************************************************************/
10 /* We're building the pthreads-win32 library */
13 /* Do we know about the C type sigset_t? */
16 /* Define if you have the <signal.h> header file. */
19 /* Define if you have the Borland TASM32 or compatible assembler. */
22 /* Define if you don't have Win32 DuplicateHandle. (eg. WinCE) */
23 #undef NEED_DUPLICATEHANDLE
25 /* Define if you don't have Win32 _beginthreadex. (eg. WinCE) */
26 #undef NEED_CREATETHREAD
28 /* Define if you don't have Win32 errno. (eg. WinCE) */
31 /* Define if you don't have Win32 calloc. (eg. WinCE) */
34 /* Define if you don't have Win32 ftime. (eg. WinCE) */
37 /* Define if you don't have Win32 semaphores. (eg. WinCE 2.1 or earlier) */
40 /* Define if you need to convert string parameters to unicode. (eg. WinCE) */
41 #undef NEED_UNICODE_CONSTS
43 /* Define if your C (not C++) compiler supports "inline" functions. */
46 /* Do we know about type mode_t? */
49 /* Define if you have the timespec struct */
50 #undef HAVE_STRUCT_TIMESPEC
52 /* Define if you don't have the GetProcessAffinityMask() */
53 #undef NEED_PROCESS_AFFINITY_MASK
56 # ----------------------------------------------------------------------
57 # The library can be built with some alternative behaviour to better
58 # facilitate development of applications on Win32 that will be ported
59 # to other POSIX systems.
61 # Nothing described here will make the library non-compliant and strictly
62 # compliant applications will not be affected in any way, but
63 # applications that make assumptions that POSIX does not guarantee are
64 # not strictly compliant and may fail or misbehave with some settings.
66 # PTW32_THREAD_ID_REUSE_INCREMENT
68 # POSIX says that applications should assume that thread IDs can be
69 # recycled. However, Solaris (and some other systems) use a [very large]
70 # sequence number as the thread ID, which provides virtual uniqueness.
71 # This provides a very high but finite level of safety for applications
72 # that are not meticulous in tracking thread lifecycles e.g. applications
73 # that call functions which target detached threads without some form of
74 # thread exit synchronisation.
77 # Set to any value in the range: 0 <= value < 2^wordsize.
78 # Set to 0 to emulate reusable thread ID behaviour like Linux or *BSD.
79 # Set to 1 for unique thread IDs like Solaris (this is the default).
80 # Set to some factor of 2^wordsize to emulate smaller word size types
81 # (i.e. will wrap sooner). This might be useful to emulate some embedded
84 # define PTW32_THREAD_ID_REUSE_INCREMENT 0
86 # ----------------------------------------------------------------------
88 #undef PTW32_THREAD_ID_REUSE_INCREMENT
91 /*********************************************************************
92 * Target specific groups
94 * If you find that these are incorrect or incomplete please report it
95 * to the pthreads-win32 maintainer. Thanks.
96 *********************************************************************/
98 #define NEED_DUPLICATEHANDLE
99 #define NEED_CREATETHREAD
104 #define NEED_UNICODE_CONSTS
105 #define NEED_PROCESS_AFFINITY_MASK
110 #define HAVE_STRUCT_TIMESPEC
114 #define HAVE_C_INLINE
128 #define HAVE_SIGNAL_H
129 #define HAVE_C_INLINE