header-post.hxx 707 B

12345678910111213141516171819202122
  1. /* Compiler deficiency workarounds for compiling libpqxx headers.
  2. *
  3. * To be included at the end of each libpqxx header, in order to restore the
  4. * client program's settings.
  5. *
  6. * Copyright (c) 2000-2022, Jeroen T. Vermeulen.
  7. *
  8. * See COPYING for copyright license. If you did not receive a file called
  9. * COPYING with this source code, please notify the distributor of this
  10. * mistake, or contact the author.
  11. */
  12. // NO GUARDS HERE! This code should be executed every time!
  13. #if defined(_MSC_VER)
  14. # pragma warning(pop) // Restore compiler's warning state
  15. #endif
  16. #if !defined(PQXX_HEADER_PRE)
  17. # error "Include pqxx/internal/header-post.hxx AFTER its 'pre' counterpart."
  18. #endif
  19. #undef PQXX_HEADER_PRE