fcml
1.3.0
Toggle main menu visibility
Loading...
Searching...
No Matches
fcml_lib_export.h
Go to the documentation of this file.
1
/*
2
* FCML - Free Code Manipulation Library.
3
* Copyright (C) 2010-2021 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
36
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
#ifdef SUPPORT_VISIBILITY_HIDDEN
57
#define LIB_EXPORT __attribute__((visibility("default")))
58
#else
59
#define LIB_EXPORT
60
#endif
61
#endif
62
63
#ifndef LIB_CALL
64
#define LIB_CALL
65
#endif
66
67
#endif
/* FCML_LIB_EXPORT_H_ */
include
fcml_lib_export.h
Generated by
1.17.0