aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorvacuum <vacuum>2004-11-25 17:40:42 +0000
committervacuum <vacuum@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2004-11-25 17:40:42 +0000
commitf7207f4c34a4d1fc0da8217f8e4a057dce5967d2 (patch)
tree627a9bb696e75310bd6c3ece3e54c66ffec1ede6 /legacy/ecore/src/lib/ecore/ecore.c
parentremoved some unused variables (diff)
downloadefl-f7207f4c34a4d1fc0da8217f8e4a057dce5967d2.tar.gz
OpenBSD does not define CODESET.
nl_langinfo() returns a pointer to an empty string if item is invalid. So just let the strcmp fall through. SVN revision: 12262
Diffstat (limited to 'legacy/ecore/src/lib/ecore/ecore.c')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c
index 26b0c58b5e..b1e30e19c2 100644
--- a/legacy/ecore/src/lib/ecore/ecore.c
+++ b/legacy/ecore/src/lib/ecore/ecore.c
@@ -10,6 +10,14 @@ static int _ecore_init_count = 0;
int _ecore_fps_debug = 0;
#endif
+/** OpenBSD does not define CODESET
+ * FIXME ??
+ */
+
+#ifndef CODESET
+#define CODESET "INVALID"
+#endif
+
/**
* Set up connections, signal handlers, sockets etc.
* @return 1 or greater on success, 0 otherwise