summaryrefslogtreecommitdiff
path: root/deps/ulib/src/ulib-config.h.in
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2014-02-22 03:02:44 +0000
committerRobert Bragg <robert@linux.intel.com>2014-03-10 15:58:01 +0000
commitf4b0d494d9a237ef123da87ca9ea0ab9a20ad8a6 (patch)
tree49e769c479a794a0f45c65b312b3fa8a0cc893d8 /deps/ulib/src/ulib-config.h.in
parent3691a0358d8dcda2294456d2e255b3a4d518cc9b (diff)
downloadcogl-f4b0d494d9a237ef123da87ca9ea0ab9a20ad8a6.tar.gz
Tightly integrate ulib (was eglib)wip/ulib
Instead of maintaining optional support for using deps/eglib instead of glib we now always use this code. This way the code is always being tested so we are less likely to break support for building Cogl without glib, and because the api no longer needs to be swappable we are free to make Cogl specific changes to the api. So that we can still support glib integration the eglib library has been renamed to ulib and symbols are prefixed with 'u_' or 'U_' so that they don't clash with glib. GLib integration for GError and GType continues to be supported.
Diffstat (limited to 'deps/ulib/src/ulib-config.h.in')
-rw-r--r--deps/ulib/src/ulib-config.h.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/deps/ulib/src/ulib-config.h.in b/deps/ulib/src/ulib-config.h.in
new file mode 100644
index 00000000..b7cfeb13
--- /dev/null
+++ b/deps/ulib/src/ulib-config.h.in
@@ -0,0 +1,19 @@
+#ifndef __ULIB_CONFIG_H
+#define __ULIB_CONFIG_H
+
+/*
+ * System-dependent settings
+ */
+#define U_SEARCHPATH_SEPARATOR_S "@SEARCHSEP@"
+#define U_SEARCHPATH_SEPARATOR '@SEARCHSEP@'
+#define U_DIR_SEPARATOR '@PATHSEP@'
+#define U_DIR_SEPARATOR_S "@PATHSEP@"
+#define U_OS_@OS@
+
+#if @HAVE_ALLOCA_H@ == 1
+#define U_HAVE_ALLOCA_H
+#endif
+
+typedef @PIDTYPE@ UPid;
+
+#endif