Files
libXISF/libXISF_global.h
T
2023-03-05 16:54:46 +01:00

41 lines
1.7 KiB
C

/************************************************************************
* 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 <http://www.gnu.org/licenses/>.*
************************************************************************/
#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