19e4f4d59e249c893c45027634c6498a3b329898
[mono.git] / eglib / src / eglib-config.h.in
1 #ifndef __EGLIB_CONFIG_H
2 #define __EGLIB_CONFIG_H
3
4 /*
5  * System-dependent settings
6  */
7 #define G_GNUC_PRETTY_FUNCTION   @GNUC_PRETTY@
8 #define G_GNUC_UNUSED            @GNUC_UNUSED@
9 #define G_BYTE_ORDER             @ORDER@
10 #define G_GNUC_NORETURN          @GNUC_NORETURN@
11 #define G_SEARCHPATH_SEPARATOR_S "@SEARCHSEP@"
12 #define G_SEARCHPATH_SEPARATOR   '@SEARCHSEP@'
13 #define G_DIR_SEPARATOR          '@PATHSEP@'
14 #define G_DIR_SEPARATOR_S        "@PATHSEP@"
15 #define G_BREAKPOINT()           @BREAKPOINT@
16 #define G_OS_@OS@
17 #define GPOINTER_TO_INT(ptr)   @GPOINTER_TO_INT@
18 #define GPOINTER_TO_UINT(ptr)  @GPOINTER_TO_UINT@
19 #define GINT_TO_POINTER(v)     @GINT_TO_POINTER@
20 #define GUINT_TO_POINTER(v)    @GUINT_TO_POINTER@
21
22 #if @HAVE_ALLOCA_H@ == 1
23 #define G_HAVE_ALLOCA_H
24 #endif
25
26 typedef unsigned @GSIZE@ gsize;
27 typedef signed   @GSIZE@ gssize;
28
29 #define G_GSIZE_FORMAT   @GSIZE_FORMAT@
30 #define G_GUINT64_FORMAT @G_GUINT64_FORMAT@
31 #define G_GINT64_FORMAT @G_GINT64_FORMAT@
32 #define G_GUINT32_FORMAT @G_GUINT32_FORMAT@
33 #define G_GINT32_FORMAT @G_GINT32_FORMAT@
34
35 #if @G_HAVE_ISO_VARARGS@ == 1
36 #define G_HAVE_ISO_VARARGS
37 #endif
38
39 #if defined (__native_client__)
40 #define sem_trywait(x) sem_wait(x)
41 #define sem_timedwait(x,y) sem_wait(x)
42 #define getdtablesize() (32768)
43 #undef G_BREAKPOINT
44 #define G_BREAKPOINT()
45 #endif
46
47 typedef @PIDTYPE@ GPid;
48
49 #endif