Audio plugin host https://kx.studio/carla
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.

142 lines
2.7KB

  1. //
  2. // detail/pop_options.hpp
  3. // ~~~~~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  6. //
  7. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  8. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. // No header guard
  11. #if defined(__COMO__)
  12. // Comeau C++
  13. #elif defined(__DMC__)
  14. // Digital Mars C++
  15. #elif defined(__INTEL_COMPILER) || defined(__ICL) \
  16. || defined(__ICC) || defined(__ECC)
  17. // Intel C++
  18. # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
  19. # if !defined(ASIO_DISABLE_VISIBILITY)
  20. # pragma GCC visibility pop
  21. # endif // !defined(ASIO_DISABLE_VISIBILITY)
  22. # endif // (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
  23. #elif defined(__clang__)
  24. // Clang
  25. # if defined(__OBJC__)
  26. # if !defined(__APPLE_CC__) || (__APPLE_CC__ <= 1)
  27. # if defined(ASIO_OBJC_WORKAROUND)
  28. # undef Protocol
  29. # undef id
  30. # undef ASIO_OBJC_WORKAROUND
  31. # endif
  32. # endif
  33. # endif
  34. # if !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32)
  35. # if !defined(ASIO_DISABLE_VISIBILITY)
  36. # pragma GCC visibility pop
  37. # endif // !defined(ASIO_DISABLE_VISIBILITY)
  38. # endif // !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32)
  39. #elif defined(__GNUC__)
  40. // GNU C++
  41. # if defined(__MINGW32__) || defined(__CYGWIN__)
  42. # pragma pack (pop)
  43. # endif
  44. # if defined(__OBJC__)
  45. # if !defined(__APPLE_CC__) || (__APPLE_CC__ <= 1)
  46. # if defined(ASIO_OBJC_WORKAROUND)
  47. # undef Protocol
  48. # undef id
  49. # undef ASIO_OBJC_WORKAROUND
  50. # endif
  51. # endif
  52. # endif
  53. # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
  54. # if !defined(ASIO_DISABLE_VISIBILITY)
  55. # pragma GCC visibility pop
  56. # endif // !defined(ASIO_DISABLE_VISIBILITY)
  57. # endif // (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
  58. # if (__GNUC__ >= 7)
  59. # pragma GCC diagnostic pop
  60. # endif // (__GNUC__ >= 7)
  61. #elif defined(__KCC)
  62. // Kai C++
  63. #elif defined(__sgi)
  64. // SGI MIPSpro C++
  65. #elif defined(__DECCXX)
  66. // Compaq Tru64 Unix cxx
  67. #elif defined(__ghs)
  68. // Greenhills C++
  69. #elif defined(__BORLANDC__)
  70. // Borland C++
  71. # pragma option pop
  72. # pragma nopushoptwarn
  73. # pragma nopackwarning
  74. #elif defined(__MWERKS__)
  75. // Metrowerks CodeWarrior
  76. #elif defined(__SUNPRO_CC)
  77. // Sun Workshop Compiler C++
  78. #elif defined(__HP_aCC)
  79. // HP aCC
  80. #elif defined(__MRC__) || defined(__SC__)
  81. // MPW MrCpp or SCpp
  82. #elif defined(__IBMCPP__)
  83. // IBM Visual Age
  84. #elif defined(_MSC_VER)
  85. // Microsoft Visual C++
  86. //
  87. // Must remain the last #elif since some other vendors (Metrowerks, for example)
  88. // also #define _MSC_VER
  89. # pragma warning (pop)
  90. # pragma pack (pop)
  91. # if defined(__cplusplus_cli) || defined(__cplusplus_winrt)
  92. # if defined(ASIO_CLR_WORKAROUND)
  93. # undef generic
  94. # undef ASIO_CLR_WORKAROUND
  95. # endif
  96. # endif
  97. #endif