4
0

asiosys.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. //------------------------------------------------------------------------
  2. // Project : ASIO SDK
  3. //
  4. // Category : Interfaces
  5. // Filename : common/asiosys.h
  6. // Created by : Steinberg, 05/1996
  7. // Description : Steinberg Audio Stream I/O
  8. //
  9. //-----------------------------------------------------------------------------
  10. // This file is part of a Steinberg SDK. It is subject to the license terms
  11. // in the LICENSE file found in the top-level directory of this distribution
  12. // and at www.steinberg.net/sdklicenses.
  13. // No part of the SDK, including this file, may be copied, modified, propagated,
  14. // or distributed except according to the terms contained in the LICENSE file.
  15. //-----------------------------------------------------------------------------
  16. #ifndef __asiosys__
  17. #define __asiosys__
  18. #if defined(_WIN32) || defined(_WIN64)
  19. #undef MAC
  20. #define PPC 0
  21. #define WINDOWS 1
  22. #define SGI 0
  23. #define SUN 0
  24. #define LINUX 0
  25. #define BEOS 0
  26. #define NATIVE_INT64 0
  27. #define IEEE754_64FLOAT 1
  28. #elif BEOS
  29. #define MAC 0
  30. #define PPC 0
  31. #define WINDOWS 0
  32. #define PC 0
  33. #define SGI 0
  34. #define SUN 0
  35. #define LINUX 0
  36. #define NATIVE_INT64 0
  37. #define IEEE754_64FLOAT 1
  38. #ifndef DEBUG
  39. #define DEBUG 0
  40. #if DEBUG
  41. void DEBUGGERMESSAGE(char *string);
  42. #else
  43. #define DEBUGGERMESSAGE(a)
  44. #endif
  45. #endif
  46. #elif SGI
  47. #define MAC 0
  48. #define PPC 0
  49. #define WINDOWS 0
  50. #define PC 0
  51. #define SUN 0
  52. #define LINUX 0
  53. #define BEOS 0
  54. #define NATIVE_INT64 0
  55. #define IEEE754_64FLOAT 1
  56. #ifndef DEBUG
  57. #define DEBUG 0
  58. #if DEBUG
  59. void DEBUGGERMESSAGE(char *string);
  60. #else
  61. #define DEBUGGERMESSAGE(a)
  62. #endif
  63. #endif
  64. #else // MAC
  65. #define MAC 1
  66. #define PPC 1
  67. #define WINDOWS 0
  68. #define PC 0
  69. #define SGI 0
  70. #define SUN 0
  71. #define LINUX 0
  72. #define BEOS 0
  73. #define NATIVE_INT64 0
  74. #define IEEE754_64FLOAT 1
  75. #ifndef DEBUG
  76. #define DEBUG 0
  77. #if DEBUG
  78. void DEBUGGERMESSAGE(char *string);
  79. #else
  80. #define DEBUGGERMESSAGE(a)
  81. #endif
  82. #endif
  83. #endif
  84. #endif