X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=eglib%2Fsrc%2Feglib-config.h.in;h=33c7fb6a6b781b1fc0ea5fc7af5f0e579d27e32b;hb=2f11972da5a0697144887a38fd7fb008c783533d;hp=80a1c0c546de27f0d54590c91a99655b76d9eefe;hpb=5bbfa8860b090e465a3aa45edeb9c94481ef1a22;p=mono.git diff --git a/eglib/src/eglib-config.h.in b/eglib/src/eglib-config.h.in index 80a1c0c546d..33c7fb6a6b7 100644 --- a/eglib/src/eglib-config.h.in +++ b/eglib/src/eglib-config.h.in @@ -1,3 +1,6 @@ +#ifndef __EGLIB_CONFIG_H +#define __EGLIB_CONFIG_H + /* * System-dependent settings */ @@ -9,15 +12,36 @@ #define G_SEARCHPATH_SEPARATOR '@SEARCHSEP@' #define G_DIR_SEPARATOR '@PATHSEP@' #define G_DIR_SEPARATOR_S "@PATHSEP@" -#define G_BREAKPOINT @BREAKPOINT@ +#define G_BREAKPOINT() @BREAKPOINT@ #define G_OS_@OS@ #define GPOINTER_TO_INT(ptr) @GPOINTER_TO_INT@ #define GPOINTER_TO_UINT(ptr) @GPOINTER_TO_UINT@ #define GINT_TO_POINTER(v) @GINT_TO_POINTER@ #define GUINT_TO_POINTER(v) @GUINT_TO_POINTER@ +#if @HAVE_ALLOCA_H@ == 1 +#define G_HAVE_ALLOCA_H +#endif + typedef unsigned @GSIZE@ gsize; typedef signed @GSIZE@ gssize; #define G_GSIZE_FORMAT @GSIZE_FORMAT@ #define G_GUINT64_FORMAT @G_GUINT64_FORMAT@ +#define G_GINT64_FORMAT @G_GINT64_FORMAT@ + +#if @G_HAVE_ISO_VARARGS@ == 1 +#define G_HAVE_ISO_VARARGS +#endif + +#if defined (__native_client__) +#define sem_trywait(x) sem_wait(x) +#define sem_timedwait(x,y) sem_wait(x) +#define getdtablesize() (32768) +#undef G_BREAKPOINT +#define G_BREAKPOINT() +#endif + +typedef @PIDTYPE@ GPid; + +#endif