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.

pop_options.hpp 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. //
  2. // detail/pop_options.hpp
  3. // ~~~~~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2015 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. # pragma GCC visibility pop
  20. # endif // (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
  21. #elif defined(__clang__)
  22. // Clang
  23. # if defined(__OBJC__)
  24. # if !defined(__APPLE_CC__) || (__APPLE_CC__ <= 1)
  25. # if defined(ASIO_OBJC_WORKAROUND)
  26. # undef Protocol
  27. # undef id
  28. # undef ASIO_OBJC_WORKAROUND
  29. # endif
  30. # endif
  31. # endif
  32. # if !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32)
  33. # pragma GCC visibility pop
  34. # endif // !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32)
  35. #elif defined(__GNUC__)
  36. // GNU C++
  37. # if defined(__MINGW32__) || defined(__CYGWIN__)
  38. # pragma pack (pop)
  39. # endif
  40. # if defined(__OBJC__)
  41. # if !defined(__APPLE_CC__) || (__APPLE_CC__ <= 1)
  42. # if defined(ASIO_OBJC_WORKAROUND)
  43. # undef Protocol
  44. # undef id
  45. # undef ASIO_OBJC_WORKAROUND
  46. # endif
  47. # endif
  48. # endif
  49. # if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
  50. # pragma GCC visibility pop
  51. # endif // (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
  52. #elif defined(__KCC)
  53. // Kai C++
  54. #elif defined(__sgi)
  55. // SGI MIPSpro C++
  56. #elif defined(__DECCXX)
  57. // Compaq Tru64 Unix cxx
  58. #elif defined(__ghs)
  59. // Greenhills C++
  60. #elif defined(__BORLANDC__)
  61. // Borland C++
  62. # pragma option pop
  63. # pragma nopushoptwarn
  64. # pragma nopackwarning
  65. #elif defined(__MWERKS__)
  66. // Metrowerks CodeWarrior
  67. #elif defined(__SUNPRO_CC)
  68. // Sun Workshop Compiler C++
  69. #elif defined(__HP_aCC)
  70. // HP aCC
  71. #elif defined(__MRC__) || defined(__SC__)
  72. // MPW MrCpp or SCpp
  73. #elif defined(__IBMCPP__)
  74. // IBM Visual Age
  75. #elif defined(_MSC_VER)
  76. // Microsoft Visual C++
  77. //
  78. // Must remain the last #elif since some other vendors (Metrowerks, for example)
  79. // also #define _MSC_VER
  80. # pragma warning (pop)
  81. # pragma pack (pop)
  82. # if defined(__cplusplus_cli) || defined(__cplusplus_winrt)
  83. # if defined(ASIO_CLR_WORKAROUND)
  84. # undef generic
  85. # undef ASIO_CLR_WORKAROUND
  86. # endif
  87. # endif
  88. #endif