52 #ifndef __jack_systemdeps_h__
53 #define __jack_systemdeps_h__
60 #ifndef POST_PACKED_STRUCTURE
71 #define PRE_PACKED_STRUCTURE
73 #define POST_PACKED_STRUCTURE
75 #define POST_PACKED_STRUCTURE __attribute__((__packed__))
81 #define PRE_PACKED_STRUCTURE1 __pragma(pack(push,1))
82 #define PRE_PACKED_STRUCTURE PRE_PACKED_STRUCTURE1
90 #define POST_PACKED_STRUCTURE ;__pragma(pack(pop))
94 #define PRE_PACKED_STRUCTURE
95 #define POST_PACKED_STRUCTURE
102 #if defined(WIN32) && !defined(__CYGWIN__) && !defined(GNU_WIN32)
107 #define __inline__ inline
108 #if (!defined(int8_t) && !defined(_STDINT_H))
109 #define __int8_t_defined
111 typedef unsigned char uint8_t;
112 typedef short int16_t;
113 typedef unsigned short uint16_t;
114 typedef long int32_t;
115 typedef unsigned long uint32_t;
116 typedef LONGLONG int64_t;
117 typedef ULONGLONG uint64_t;
121 #include <sys/types.h>
123 #include <inttypes.h>
125 #include <sys/types.h>
128 #if !defined(_PTHREAD_H) && !defined(PTHREAD_WIN32)
133 typedef HANDLE jack_native_thread_t;
135 #ifdef PTHREAD_WIN32 // Added by JE - 10-10-2011
136 #include <ptw32/pthread.h>
142 typedef pthread_t jack_native_thread_t;
147 #if defined(__APPLE__) || defined(__linux__) || defined(__sun__) || defined(sun) || defined(__unix__) || defined(__CYGWIN__) || defined(GNU_WIN32)
149 #if defined(__CYGWIN__) || defined(GNU_WIN32)
152 #include <inttypes.h>
154 #include <sys/types.h>
160 typedef pthread_t jack_native_thread_t;
165 #undef POST_PACKED_STRUCTURE
166 #define POST_PACKED_STRUCTURE