summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:53 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:53 +0000
commitf1ca8b54d6f51d0eab01e29e47c3f28d5056aa60 (patch)
treeceeb25111b9776fd485a07ee6b4222a6f1aeb7c4 /src/lib/ecore
parent4af2647d05594986e046244d9c1fc59c989bfcd8 (diff)
efl: remove check for langinfo.h and locale.h
SVN revision: 82583
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index eb306408b3..5c9ad0cd28 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -2,6 +2,7 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#include <locale.h>
5#include <stdlib.h> 6#include <stdlib.h>
6#include <stdio.h> 7#include <stdio.h>
7#include <sys/types.h> 8#include <sys/types.h>
@@ -10,13 +11,7 @@
10#include <fcntl.h> 11#include <fcntl.h>
11#include <errno.h> 12#include <errno.h>
12 13
13#ifdef HAVE_LOCALE_H 14#include <langinfo.h>
14# include <locale.h>
15#endif
16
17#ifdef HAVE_LANGINFO_H
18# include <langinfo.h>
19#endif
20 15
21#ifdef HAVE_SYS_MMAN_H 16#ifdef HAVE_SYS_MMAN_H
22# include <sys/mman.h> 17# include <sys/mman.h>
@@ -140,9 +135,7 @@ ecore_init(void)
140 135
141 eo_init(); 136 eo_init();
142 137
143#ifdef HAVE_LOCALE_H
144 setlocale(LC_CTYPE, ""); 138 setlocale(LC_CTYPE, "");
145#endif
146 /* 139 /*
147 if (strcmp(nl_langinfo(CODESET), "UTF-8")) 140 if (strcmp(nl_langinfo(CODESET), "UTF-8"))
148 { 141 {