fcml  1.2.2
fcml_lib_export.h
Go to the documentation of this file.
1 /*
2  * FCML - Free Code Manipulation Library.
3  * Copyright (C) 2010-2020 Slawomir Wojtasiak
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
37 #ifndef FCML_LIB_EXPORT_H_
38 #define FCML_LIB_EXPORT_H_
39 
40 #ifdef HAVE_CONFIG_H
41 #include <config.h>
42 #endif
43 
44 #if _WIN32 || __CYGWIN__
45 #define LIB_CALL __stdcall
46 #ifdef DLL_EXPORT
47 #define LIB_EXPORT __declspec(dllexport)
48 #else
49 #ifdef LIBFCML_DLL_IMPORT
50 #define LIB_EXPORT __declspec(dllimport)
51 #endif
52 #endif
53 #endif
54 
55 #ifndef LIB_EXPORT
56 #define LIB_EXPORT
57 #endif
58 
59 #ifndef LIB_CALL
60 #define LIB_CALL
61 #endif
62 
63 #endif /* FCML_LIB_EXPORT_H_ */