00001 /* 00002 This file is part of Kompex SQLite Wrapper. 00003 Copyright (c) 2008-2011 Sven Broeske 00004 00005 Kompex SQLite Wrapper is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU Lesser General Public License as published by 00007 the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 Kompex SQLite Wrapper is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public License 00016 along with Kompex SQLite Wrapper. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #ifndef KompexSQLitePrerequisites_H 00020 #define KompexSQLitePrerequisites_H 00021 00022 #if _WIN32 00023 # define _CDECL _cdecl 00024 # if defined(_KOMPEX_SQLITEWRAPPER_EXPORT) && defined(_KOMPEX_SQLITEWRAPPER_DYN) 00025 # define _SQLiteWrapperExport __declspec(dllexport) 00026 # elif defined(_KOMPEX_SQLITEWRAPPER_DYN) 00027 # define _SQLiteWrapperExport __declspec(dllimport) 00028 # else 00029 # define _SQLiteWrapperExport 00030 # endif 00031 #else 00032 # define _SQLiteWrapperExport 00033 #endif 00034 00035 #endif // KompexSQLitePrerequisites_H