jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.4KB

  1. /*
  2. Copyright (C) 2004-2006 Grame
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  14. */
  15. #ifndef __jack_systemdeps_h__
  16. #define __jack_systemdeps_h__
  17. #ifdef WIN32
  18. #include <windows.h>
  19. #ifdef __MINGW32__
  20. #include <stdint.h>
  21. #include <sys/types.h>
  22. #else
  23. #define __inline__ inline
  24. #define vsnprintf _vsnprintf
  25. #define snprintf _snprintf
  26. typedef char int8_t;
  27. typedef unsigned char uint8_t;
  28. typedef short int16_t;
  29. typedef unsigned short uint16_t;
  30. typedef long int32_t;
  31. typedef unsigned long uint32_t;
  32. typedef LONGLONG int64_t;
  33. typedef ULONGLONG uint64_t;
  34. #endif
  35. typedef HANDLE pthread_t;
  36. typedef int64_t _jack_time_t;
  37. #endif // WIN32 */
  38. #if defined(__APPLE__) || defined(__linux__)
  39. #include <inttypes.h>
  40. #include <pthread.h>
  41. #include <sys/types.h>
  42. typedef uint64_t _jack_time_t;
  43. #endif // __APPLE__ || __linux__ */
  44. #endif