libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
header-post.hxx
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-2024, 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
14#if defined(_MSC_VER)
15# pragma warning(pop) // Restore compiler's warning state
16#endif
17
18#if !defined(PQXX_HEADER_PRE)
19# error "Include pqxx/internal/header-post.hxx AFTER its 'pre' counterpart."
20#endif
21
22#undef PQXX_HEADER_PRE