libpqxx
The C++ client library for PostgreSQL
pqxx-source.hxx
Go to the documentation of this file.
1
/* Compiler settings for compiling libpqxx itself.
2
*
3
* Include this header in every source file that goes into the libpqxx library
4
* binary, and nowhere else.
5
*
6
* To ensure this, include this file once, as the very first header, in each
7
* compilation unit for the library.
8
*
9
* DO NOT INCLUDE THIS FILE when building client programs.
10
*
11
* Copyright (c) 2000-2026, Jeroen T. Vermeulen.
12
*
13
* See COPYING for copyright license. If you did not receive a file called
14
* COPYING with this source code, please notify the distributor of this
15
* mistake, or contact the author.
16
*/
17
// NOLINTBEGIN(llvm-header-guard)
18
#ifndef PQXX_SOURCE_HXX
19
#define PQXX_SOURCE_HXX
20
// NOLINTEND(llvm-header-guard)
21
22
#ifdef _WIN32
23
24
# ifdef PQXX_SHARED
25
// We're building libpqxx as a shared library.
26
# undef PQXX_LIBEXPORT
27
# define PQXX_LIBEXPORT __declspec(dllexport)
28
# define PQXX_PRIVATE __declspec()
29
# endif
// PQXX_SHARED
30
31
#endif
// _WIN32
32
#endif
src
pqxx-source.hxx
Generated by
1.9.1