1 // Copyright Maciej Sobczak 2008-2019. 2 // This file is part of YAMI4. 3 // 4 // YAMI4 is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // YAMI4 is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU General Public License for more details. 13 // 14 // You should have received a copy of the GNU General Public License 15 // along with YAMI4. If not, see <http://www.gnu.org/licenses/>. 16 17 #ifndef YAMICORE_DLL_H_INCLUDED 18 #define YAMICORE_DLL_H_INCLUDED 19 20 #ifdef _WIN32 21 # ifdef YAMI4_DLL_COMPILATION 22 # define DLL __declspec(dllexport) 23 # endif // YAMI4_DLL_COMPILATION 24 # ifdef YAMI4_USE_AS_DLL 25 # define DLL __declspec(dllimport) 26 # endif // YAMI4_USE_AS_DLL 27 #endif // _WIN32 28 29 #ifndef DLL 30 # define DLL 31 #endif // DLL 32 33 #endif // YAMICORE_DLL_H_INCLUDED 34