sqlitexx 0.0.1
dllexport.h
Go to the documentation of this file.
1/*
2 * sqlite3xx - sqlite3 C++ layer, following the ideas of libpqxx
3 * Copyright (C) 2009 Andreas Baumann
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions of
7 * the GNU Lesser General Public License, as published by the Free Software
8 * Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this distribution; if not, write to:
17 * Free Software Foundation, Inc.
18 * 51 Franklin Street, Fifth Floor
19 * Boston, MA 02110-1301 USA
20 *
21 */
22
23#ifndef __PORT_DLLEXPORT_H
24#define __PORT_DLLEXPORT_H
25
26#ifdef _WIN32
27#ifdef BUILD_SHARED
28#define SQLITEXX_LIBEXPORT __declspec( dllexport )
29#define SQLITEXX_PRIVATE __declspec( )
30#else
31#define SQLITEXX_LIBEXPORT
32#define SQLITEXX_PRIVATE
33#endif
34#else
35#define SQLITEXX_LIBEXPORT
36#define SQLITEXX_PRIVATE
37#endif
38
39#endif /* ifndef __PORT_DLLEXPORT_H */