Change LGPL-2.1+ to LGPL-2.1-or-later
[platform/upstream/glib.git] / gmodule / gmoduleconf.h.in
1 /* GMODULE - GLIB wrapper code for dynamic module loading
2  * Copyright (C) 1998 Tim Janik
3  *
4  * SPDX-License-Identifier: LGPL-2.1-or-later
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18  */
19 #ifndef __G_MODULE_CONF_H__
20 #define __G_MODULE_CONF_H__
21
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif /* __cplusplus */
26
27
28 #define G_MODULE_IMPL_NONE      0
29 #define G_MODULE_IMPL_DL        1
30 #define G_MODULE_IMPL_WIN32     3
31 #define G_MODULE_IMPL_AR        7
32
33 #define G_MODULE_IMPL           @G_MODULE_IMPL@
34 #undef  G_MODULE_HAVE_DLERROR
35 #if     (@G_MODULE_HAVE_DLERROR@)
36 #define G_MODULE_HAVE_DLERROR
37 #endif
38 #if     (@G_MODULE_NEED_USCORE@)
39 #define G_MODULE_NEED_USCORE
40 #endif
41 #if     (@G_MODULE_BROKEN_RTLD_GLOBAL@)
42 #define G_MODULE_BROKEN_RTLD_GLOBAL
43 #endif
44
45 #ifdef __cplusplus
46 }
47 #endif /* __cplusplus */
48
49
50 #endif /* __G_MODULE_CONF_H__ */