b0f393c7b218399eacc4d04683a4187386d134fd
[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 Library 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  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library 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
32 #define G_MODULE_IMPL           @G_MODULE_IMPL@
33 #undef  G_MODULE_HAVE_DLERROR
34 #if     (@G_MODULE_HAVE_DLERROR@)
35 #define G_MODULE_HAVE_DLERROR
36 #endif
37 #if     (@G_MODULE_NEED_USCORE@) || defined (hp9000s300) || defined (__hp9000s300) || defined (__hp9000s300__)
38 #define G_MODULE_NEED_USCORE
39 #endif
40
41
42 #ifdef __cplusplus
43 }
44 #endif /* __cplusplus */
45
46
47 #endif /* __G_MODULE_CONF_H__ */