/************************************************************************ * LibXISF - library to load and save XISF files * * Copyright (C) 2023 DuĊĦan Poizl * * * * This program is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program. If not, see .* ************************************************************************/ #ifndef LIBXISF_GLOBAL_H #define LIBXISF_GLOBAL_H #ifdef LIBXISF_STATIC_LIB # define LIBXISF_EXPORT #else # if defined(LIBXISF_LIBRARY) # ifdef WIN32 # define LIBXISF_EXPORT __declspec(dllexport) # else # define LIBXISF_EXPORT __attribute__((visibility("default"))) # endif # else # ifdef WIN32 # define LIBXISF_EXPORT __declspec(dllimport) # else # define LIBXISF_EXPORT __attribute__((visibility("default"))) # endif # endif #endif #endif // LIBXISF_GLOBAL_H