00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __jack_systemdeps_h__
00021 #define __jack_systemdeps_h__
00022
00023 #ifdef WIN32
00024
00025 #include <windows.h>
00026
00027 #ifdef _MSC_VER
00028 #define __inline__ inline
00029 #ifndef int8_t
00030 typedef char int8_t;
00031 typedef unsigned char uint8_t;
00032 typedef short int16_t;
00033 typedef unsigned short uint16_t;
00034 typedef long int32_t;
00035 typedef unsigned long uint32_t;
00036 typedef LONGLONG int64_t;
00037 typedef ULONGLONG uint64_t;
00038 #endif
00039
00043 typedef HANDLE jack_native_thread_t;
00044 #elif __MINGW32__
00045 #include <stdint.h>
00046 #include <sys/types.h>
00051 typedef HANDLE jack_native_thread_t;
00052 #else
00053 #include <inttypes.h>
00054 #include <pthread.h>
00055 #include <sys/types.h>
00056 #endif
00057
00058 #endif
00059
00060 #if defined(__APPLE__) || defined(__linux__) || defined(__sun__) || defined(sun) || defined(__unix__)
00061 #include <inttypes.h>
00062 #include <pthread.h>
00063 #include <sys/types.h>
00064
00069 typedef pthread_t jack_native_thread_t;
00070
00071 #endif
00072
00073 #endif