Merge branch 'master' of github.com:mono/mono
[mono.git] / eglib / src / eglib-config.h.in
index eaeb9c8e17872c5653d14deedf91f1d6abeee5db..03ecbfd129d46b4c160a1014ac081e64e6cea925 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef __EGLIB_CONFIG_H
+#define __EGLIB_CONFIG_H
+
 /*
  * System-dependent settings
  */
@@ -6,9 +9,10 @@
 #define G_BYTE_ORDER             @ORDER@
 #define G_GNUC_NORETURN          @GNUC_NORETURN@
 #define G_SEARCHPATH_SEPARATOR_S "@SEARCHSEP@"
+#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@
@@ -20,3 +24,18 @@ 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
+
+#endif