libpqxx
7.8.1
pqxx-source.hxx
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-2023, 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
18
// Workarounds & definitions needed to compile libpqxx into a library.
19
#include "pqxx/config-internal-compiler.h"
20
21
#ifdef _WIN32
22
23
# ifdef PQXX_SHARED
24
// We're building libpqxx as a shared library.
25
# undef PQXX_LIBEXPORT
26
# define PQXX_LIBEXPORT __declspec(dllexport)
27
# define PQXX_PRIVATE __declspec()
28
# endif
// PQXX_SHARED
29
30
#endif
// _WIN32
src
pqxx-source.hxx
Generated by
1.9.8