00001 /* 00002 * Copyright (c) 2012 Remko Tronçon 00003 * Licensed under the GNU General Public License v3. 00004 * See Documentation/Licenses/GPLv3.txt for more information. 00005 */ 00006 00007 #pragma once 00008 00009 #include <Swiften/Base/Platform.h> 00010 00011 #ifdef SWIFTEN_STATIC 00012 # define SWIFTEN_API 00013 #else 00014 # ifdef SWIFTEN_PLATFORM_WINDOWS 00015 # ifdef SWIFTEN_BUILDING 00016 # define SWIFTEN_API __declspec(dllexport) 00017 # else 00018 # define SWIFTEN_API __declspec(dllimport) 00019 # endif 00020 # else 00021 # define SWIFTEN_API 00022 # endif 00023 #endif