4e3af4ede47a1f29366081fdfe5c32776b2c224a
[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  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
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_DLD       2
31 #define G_MODULE_IMPL_WIN32     3
32 #define G_MODULE_IMPL_DYLD      6
33 #define G_MODULE_IMPL_AR        7
34
35 #define G_MODULE_IMPL           @G_MODULE_IMPL@
36 #undef  G_MODULE_HAVE_DLERROR
37 #if     (@G_MODULE_HAVE_DLERROR@)
38 #define G_MODULE_HAVE_DLERROR
39 #endif
40 #if     (@G_MODULE_NEED_USCORE@) || defined (hp9000s300) || defined (__hp9000s300) || defined (__hp9000s300__)
41 #define G_MODULE_NEED_USCORE
42 #endif
43 #if     (@G_MODULE_BROKEN_RTLD_GLOBAL@)
44 #define G_MODULE_BROKEN_RTLD_GLOBAL
45 #endif
46
47 #ifdef __cplusplus
48 }
49 #endif /* __cplusplus */
50
51
52 #endif /* __G_MODULE_CONF_H__ */