forked from enlightenment/efl
efl: remove check for langinfo.h and locale.h
SVN revision: 82583
This commit is contained in:
parent
4af2647d05
commit
f1ca8b54d6
|
@ -1820,8 +1820,6 @@ AC_HEADER_SYS_WAIT
|
||||||
|
|
||||||
AC_CHECK_HEADERS([ \
|
AC_CHECK_HEADERS([ \
|
||||||
features.h \
|
features.h \
|
||||||
langinfo.h \
|
|
||||||
locale.h \
|
|
||||||
sys/time.h \
|
sys/time.h \
|
||||||
sys/prctl.h \
|
sys/prctl.h \
|
||||||
sys/resource.h \
|
sys/resource.h \
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <locale.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -10,13 +11,7 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#ifdef HAVE_LOCALE_H
|
#include <langinfo.h>
|
||||||
# include <locale.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_LANGINFO_H
|
|
||||||
# include <langinfo.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_MMAN_H
|
#ifdef HAVE_SYS_MMAN_H
|
||||||
# include <sys/mman.h>
|
# include <sys/mman.h>
|
||||||
|
@ -140,9 +135,7 @@ ecore_init(void)
|
||||||
|
|
||||||
eo_init();
|
eo_init();
|
||||||
|
|
||||||
#ifdef HAVE_LOCALE_H
|
|
||||||
setlocale(LC_CTYPE, "");
|
setlocale(LC_CTYPE, "");
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
if (strcmp(nl_langinfo(CODESET), "UTF-8"))
|
if (strcmp(nl_langinfo(CODESET), "UTF-8"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -2817,9 +2817,7 @@ edje_edit_part_states_list_get(Evas_Object *obj, const char *part)
|
||||||
GET_RP_OR_RETURN(NULL);
|
GET_RP_OR_RETURN(NULL);
|
||||||
|
|
||||||
//Is there a better place to put this? maybe edje_edit_init() ?
|
//Is there a better place to put this? maybe edje_edit_init() ?
|
||||||
#ifdef HAVE_LOCALE_H
|
|
||||||
setlocale(LC_NUMERIC, "C");
|
setlocale(LC_NUMERIC, "C");
|
||||||
#endif
|
|
||||||
|
|
||||||
states = NULL;
|
states = NULL;
|
||||||
|
|
||||||
|
|
|
@ -14,17 +14,15 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <locale.h>
|
||||||
|
#include <libgen.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <unistd.h>
|
||||||
#ifndef _MSC_VER
|
|
||||||
# include <libgen.h>
|
|
||||||
# include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
@ -33,10 +31,6 @@
|
||||||
#include <lauxlib.h>
|
#include <lauxlib.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
#ifdef HAVE_LOCALE_H
|
|
||||||
# include <locale.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_EVIL
|
#ifdef HAVE_EVIL
|
||||||
# include <Evil.h>
|
# include <Evil.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue