Eneboo - Documentación para desarrolladores
src/pthreads/config.h
Ir a la documentación de este archivo.
00001 /* config.h  */
00002 
00003 #ifndef PTW32_CONFIG_H
00004 #define PTW32_CONFIG_H
00005 
00006 /*********************************************************************
00007  * Defaults: see target specific redefinitions below.
00008  *********************************************************************/
00009 
00010 /* We're building the pthreads-win32 library */
00011 #define PTW32_BUILD
00012 
00013 /* Do we know about the C type sigset_t? */
00014 #undef HAVE_SIGSET_T
00015 
00016 /* Define if you have the <signal.h> header file.  */
00017 #undef HAVE_SIGNAL_H
00018 
00019 /* Define if you have the Borland TASM32 or compatible assembler.  */
00020 #undef HAVE_TASM32
00021 
00022 /* Define if you don't have Win32 DuplicateHandle. (eg. WinCE) */
00023 #undef NEED_DUPLICATEHANDLE
00024 
00025 /* Define if you don't have Win32 _beginthreadex. (eg. WinCE) */
00026 #undef NEED_CREATETHREAD
00027 
00028 /* Define if you don't have Win32 errno. (eg. WinCE) */
00029 #undef NEED_ERRNO
00030 
00031 /* Define if you don't have Win32 calloc. (eg. WinCE)  */
00032 #undef NEED_CALLOC
00033 
00034 /* Define if you don't have Win32 ftime. (eg. WinCE)  */
00035 #undef NEED_FTIME
00036 
00037 /* Define if you don't have Win32 semaphores. (eg. WinCE 2.1 or earlier)  */
00038 #undef NEED_SEM
00039 
00040 /* Define if you need to convert string parameters to unicode. (eg. WinCE)  */
00041 #undef NEED_UNICODE_CONSTS
00042 
00043 /* Define if your C (not C++) compiler supports "inline" functions. */
00044 #undef HAVE_C_INLINE
00045 
00046 /* Do we know about type mode_t? */
00047 #undef HAVE_MODE_T
00048 
00049 /* Define if you have the timespec struct */
00050 #undef HAVE_STRUCT_TIMESPEC
00051 
00052 /* Define if you don't have the GetProcessAffinityMask() */
00053 #undef NEED_PROCESS_AFFINITY_MASK
00054 
00055 /*
00056 # ----------------------------------------------------------------------
00057 # The library can be built with some alternative behaviour to better
00058 # facilitate development of applications on Win32 that will be ported
00059 # to other POSIX systems.
00060 #
00061 # Nothing described here will make the library non-compliant and strictly
00062 # compliant applications will not be affected in any way, but
00063 # applications that make assumptions that POSIX does not guarantee are
00064 # not strictly compliant and may fail or misbehave with some settings.
00065 #
00066 # PTW32_THREAD_ID_REUSE_INCREMENT
00067 # Purpose:
00068 # POSIX says that applications should assume that thread IDs can be
00069 # recycled. However, Solaris (and some other systems) use a [very large]
00070 # sequence number as the thread ID, which provides virtual uniqueness.
00071 # This provides a very high but finite level of safety for applications
00072 # that are not meticulous in tracking thread lifecycles e.g. applications
00073 # that call functions which target detached threads without some form of
00074 # thread exit synchronisation.
00075 #
00076 # Usage:
00077 # Set to any value in the range: 0 <= value < 2^wordsize.
00078 # Set to 0 to emulate reusable thread ID behaviour like Linux or *BSD.
00079 # Set to 1 for unique thread IDs like Solaris (this is the default).
00080 # Set to some factor of 2^wordsize to emulate smaller word size types
00081 # (i.e. will wrap sooner). This might be useful to emulate some embedded
00082 # systems.
00083 #
00084 # define PTW32_THREAD_ID_REUSE_INCREMENT 0
00085 #
00086 # ----------------------------------------------------------------------
00087  */
00088 #undef PTW32_THREAD_ID_REUSE_INCREMENT
00089 
00090 
00091 /*********************************************************************
00092  * Target specific groups
00093  *
00094  * If you find that these are incorrect or incomplete please report it
00095  * to the pthreads-win32 maintainer. Thanks.
00096  *********************************************************************/
00097 #ifdef WINCE
00098 #define NEED_DUPLICATEHANDLE
00099 #define NEED_CREATETHREAD
00100 #define NEED_ERRNO
00101 #define NEED_CALLOC
00102 #define NEED_FTIME
00103 //#define NEED_SEM
00104 #define NEED_UNICODE_CONSTS
00105 #define NEED_PROCESS_AFFINITY_MASK
00106 #endif
00107 
00108 #ifdef _UWIN
00109 #define HAVE_MODE_T
00110 #define HAVE_STRUCT_TIMESPEC
00111 #endif
00112 
00113 #ifdef __GNUC__
00114 #define HAVE_C_INLINE
00115 #endif
00116 
00117 #ifdef __MINGW32__
00118 #define HAVE_MODE_T
00119 #endif
00120 
00121 #ifdef __BORLANDC__
00122 #endif
00123 
00124 #ifdef __WATCOMC__
00125 #endif
00126 
00127 #ifdef __DMC__
00128 #define HAVE_SIGNAL_H
00129 #define HAVE_C_INLINE
00130 #endif
00131 
00132 
00133 
00134 #endif
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'