postlude.hpp 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // Copyright 2014 MongoDB Inc.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. // compiler.hpp
  15. #undef BSONCXX_INLINE
  16. #pragma pop_macro("BSONCXX_INLINE")
  17. #if defined(_MSC_VER)
  18. #pragma warning(pop)
  19. #endif
  20. #undef BSONCXX_CALL
  21. #pragma pop_macro("BSONCXX_CALL")
  22. // src/bsoncxx/config/config.hpp.in
  23. #undef BSONCXX_INLINE_NAMESPACE_BEGIN
  24. #pragma pop_macro("BSONCXX_INLINE_NAMESPACE_BEGIN")
  25. #undef BSONCXX_INLINE_NAMESPACE_END
  26. #pragma pop_macro("BSONCXX_INLINE_NAMESPACE_END")
  27. #undef BSONCXX_POLY_USE_MNMLSTC
  28. #pragma pop_macro("BSONCXX_POLY_USE_MNMLSTC")
  29. #undef BSONCXX_POLY_USE_STD_EXPERIMENTAL
  30. #pragma pop_macro("BSONCXX_POLY_USE_STD_EXPERIMENTAL")
  31. #undef BSONCXX_POLY_USE_SYSTEM_MNMLSTC
  32. #pragma pop_macro("BSONCXX_POLY_USE_SYSTEM_MNMLSTC")
  33. #undef BSONCXX_POLY_USE_BOOST
  34. #pragma pop_macro("BSONCXX_POLY_USE_BOOST")
  35. // src/bsoncxx/config/version.hpp.in
  36. #undef BSONCXX_VERSION_EXTRA
  37. #pragma pop_macro("BSONCXX_VERSION_EXTRA")
  38. #undef BSONCXX_VERSION_MAJOR
  39. #pragma pop_macro("BSONCXX_VERSION_MAJOR")
  40. #undef BSONCXX_VERSION_MINOR
  41. #pragma pop_macro("BSONCXX_VERSION_MINOR")
  42. #undef BSONCXX_VERSION_PATCH
  43. #pragma pop_macro("BSONCXX_VERSION_PATCH")
  44. // src/bsoncxx/types.hpp
  45. #ifdef BSONCXX_ENUM
  46. static_assert(false, "BSONCXX_ENUM must be undef'ed");
  47. #endif
  48. #pragma pop_macro("BSONCXX_ENUM")
  49. // export.hpp (generated by cmake)
  50. #undef BSONCXX_API_H
  51. #pragma pop_macro("BSONCXX_API_H")
  52. #undef BSONCXX_API
  53. #pragma pop_macro("BSONCXX_API")
  54. #undef BSONCXX_PRIVATE
  55. #pragma pop_macro("BSONCXX_PRIVATE")
  56. #undef BSONCXX_DEPRECATED
  57. #pragma pop_macro("BSONCXX_DEPRECATED")
  58. #undef BSONCXX_DEPRECATED_EXPORT
  59. #pragma pop_macro("BSONCXX_DEPRECATED_EXPORT")
  60. #undef BSONCXX_DEPRECATED_NO_EXPORT
  61. #pragma pop_macro("BSONCXX_DEPRECATED_NO_EXPORT")
  62. #undef DEFINE_NO_DEPRECATED
  63. #pragma pop_macro("DEFINE_NO_DEPRECATED")
  64. #undef BSONCXX_NO_DEPRECATED
  65. #pragma pop_macro("BSONCXX_NO_DEPRECATED")
  66. // prelude.hpp
  67. #undef BSONCXX_UNREACHABLE
  68. #pragma pop_macro("BSONCXX_UNREACHABLE")