20 #ifndef __jack_systemdeps_h__
21 #define __jack_systemdeps_h__
23 #ifndef POST_PACKED_STRUCTURE
34 #define PRE_PACKED_STRUCTURE
35 #define POST_PACKED_STRUCTURE __attribute__((__packed__))
40 #define PRE_PACKED_STRUCTURE1 __pragma(pack(push,1))
41 #define PRE_PACKED_STRUCTURE PRE_PACKED_STRUCTURE1
49 #define POST_PACKED_STRUCTURE ;__pragma(pack(pop))
53 #define PRE_PACKED_STRUCTURE
54 #define POST_PACKED_STRUCTURE
61 #if defined(WIN32) && !defined(__CYGWIN__) && !defined(GNU_WIN32)
66 #define __inline__ inline
67 #if (!defined(int8_t) && !defined(_STDINT_H))
68 #define __int8_t_defined
70 typedef unsigned char uint8_t;
71 typedef short int16_t;
72 typedef unsigned short uint16_t;
74 typedef unsigned long uint32_t;
75 typedef LONGLONG int64_t;
76 typedef ULONGLONG uint64_t;
80 #include <sys/types.h>
84 #include <sys/types.h>
87 #if !defined(_PTHREAD_H) && !defined(PTHREAD_WIN32)
92 typedef HANDLE jack_native_thread_t;
94 #ifdef PTHREAD_WIN32 // Added by JE - 10-10-2011
95 #include <ptw32/pthread.h>
101 typedef pthread_t jack_native_thread_t;
106 #if defined(__APPLE__) || defined(__linux__) || defined(__sun__) || defined(sun) || defined(__unix__) || defined(__CYGWIN__) || defined(GNU_WIN32)
108 #if defined(__CYGWIN__) || defined(GNU_WIN32)
111 #include <inttypes.h>
113 #include <sys/types.h>
119 typedef pthread_t jack_native_thread_t;
124 #undef POST_PACKED_STRUCTURE
125 #define POST_PACKED_STRUCTURE