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.

56 lines
1.4KB

  1. /*
  2. Copyright (C) 2004-2009 Grame
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU Lesser General Public License as published by
  5. the Free Software Foundation; either version 2.1 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. typedef char int8_t;
  25. typedef unsigned char uint8_t;
  26. typedef short int16_t;
  27. typedef unsigned short uint16_t;
  28. typedef long int32_t;
  29. typedef unsigned long uint32_t;
  30. typedef LONGLONG int64_t;
  31. typedef ULONGLONG uint64_t;
  32. #endif
  33. typedef HANDLE pthread_t;
  34. typedef int64_t _jack_time_t;
  35. #endif // WIN32 */
  36. #if defined(__APPLE__) || defined(__linux__) || defined(__sun__) || defined(sun)
  37. #include <inttypes.h>
  38. #include <pthread.h>
  39. #include <sys/types.h>
  40. typedef uint64_t _jack_time_t;
  41. #endif // __APPLE__ || __linux__ */
  42. #endif