Go to the documentation of this file.
50 # define CMPI_THREAD_RETURN void*
51 # define CMPI_THREAD_TYPE void*
52 # define CMPI_MUTEX_TYPE void*
53 # define CMPI_COND_TYPE void*
55 # if defined(CMPI_PLATFORM_WIN32_IX86_MSVC)
56 # define CMPI_THREAD_CDECL __stdcall
57 # define CMPI_THREAD_KEY_TYPE unsigned long int
59 # ifndef HAVE_STRUCT_TIMESPEC
60 # define HAVE_STRUCT_TIMESPEC
68 # elif defined(CMPI_PLATFORM_ZOS_ZSERIES_IBM)
71 # define CMPI_THREAD_CDECL
73 # define CMPI_THREAD_CDECL __cdecl
75 # define CMPI_THREAD_KEY_TYPE pthread_key_t
76 # elif defined(CMPI_PLATFORM_LINUX_GENERIC_GNU)
78 # define CMPI_THREAD_CDECL
79 # define CMPI_THREAD_KEY_TYPE pthread_key_t
81 # define CMPI_THREAD_CDECL
82 # define CMPI_THREAD_KEY_TYPE unsigned long int
86 # if defined(CMPI_PLATFORM_WIN32_IX86_MSVC)
87 # define CMPI_EXPORT __declspec(dllexport)
88 # elif defined(CMPI_PLATFORM_LINUX_GENERIC_GNU) && (__GNUC__ >= 4)
89 # define CMPI_EXPORT __attribute__((visibility("default")))
96 # define CMPI_EXTERN_C extern "C" CMPI_EXPORT
98 # define CMPI_EXTERN_C CMPI_EXPORT