Kompex SQLite Wrapper  1.10.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
KompexSQLitePrerequisites.h
Go to the documentation of this file.
1 /*
2  This file is part of Kompex SQLite Wrapper.
3  Copyright (c) 2008-2014 Sven Broeske
4 
5  Kompex SQLite Wrapper is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  Kompex SQLite Wrapper 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. See the
13  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 Kompex SQLite Wrapper. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef KompexSQLitePrerequisites_H
20 #define KompexSQLitePrerequisites_H
21 
22 #if _WIN32
23 # define _CDECL _cdecl
24 # if defined(_KOMPEX_SQLITEWRAPPER_EXPORT) && defined(_KOMPEX_SQLITEWRAPPER_DYN)
25 # define _SQLiteWrapperExport __declspec(dllexport)
26 # elif defined(_KOMPEX_SQLITEWRAPPER_DYN)
27 # define _SQLiteWrapperExport __declspec(dllimport)
28 # else
29 # define _SQLiteWrapperExport
30 # endif
31 #else
32 # define _SQLiteWrapperExport
33 #endif
34 
35 #if defined(_MSC_VER) || defined(__BORLANDC__)
36  typedef __int64 int64;
37  typedef unsigned __int64 uint64;
38 #else
39  typedef long long int int64;
40  typedef unsigned long long int uint64;
41 #endif
42 
43 #endif // KompexSQLitePrerequisites_H