Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
soci
src
core
soci-config.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2006-2008 Mateusz Loskot
3
// Distributed under the Boost Software License, Version 1.0.
4
// (See accompanying file LICENSE_1_0.txt or copy at
5
// http://www.boost.org/LICENSE_1_0.txt)
6
//
7
8
#ifndef SOCI_CONFIG_H_INCLUDED
9
#define SOCI_CONFIG_H_INCLUDED
10
11
//
12
// On Windows platform, define SOCI_DECL depending on
13
// static or dynamic (SOCI_DLL) linkage.
14
//
15
// For details, see
16
// http://www.boost.org/more/separate_compilation.html
17
//
18
19
#ifdef _WIN32
20
# ifdef SOCI_DLL
21
# ifdef SOCI_SOURCE
22
# define SOCI_DECL __declspec(dllexport)
23
# else
24
# define SOCI_DECL __declspec(dllimport)
25
# endif // SOCI_SOURCE
26
# endif // SOCI_DLL
27
#endif // _WIN32
28
//
29
// If SOCI_DECL isn't defined yet define it now
30
#ifndef SOCI_DECL
31
# define SOCI_DECL
32
#endif
33
34
#ifdef _MSC_VER
35
#pragma warning(disable:4251 4275)
36
#endif // _MSC_VER
37
38
#endif // SOCI_CONFIG_H_INCLUDED
asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41