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([ \
|
||||
features.h \
|
||||
langinfo.h \
|
||||
locale.h \
|
||||
sys/time.h \
|
||||
sys/prctl.h \
|
||||
sys/resource.h \
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -10,13 +11,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LANGINFO_H
|
||||
# include <langinfo.h>
|
||||
#endif
|
||||
#include <langinfo.h>
|
||||
|
||||
#ifdef HAVE_SYS_MMAN_H
|
||||
# include <sys/mman.h>
|
||||
|
@ -140,9 +135,7 @@ ecore_init(void)
|
|||
|
||||
eo_init();
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
setlocale(LC_CTYPE, "");
|
||||
#endif
|
||||
/*
|
||||
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);
|
||||
|
||||
//Is there a better place to put this? maybe edje_edit_init() ?
|
||||
#ifdef HAVE_LOCALE_H
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
#endif
|
||||
|
||||
states = NULL;
|
||||
|
||||
|
|
|
@ -14,17 +14,15 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
#include <libgen.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
# include <libgen.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
|
@ -33,10 +31,6 @@
|
|||
#include <lauxlib.h>
|
||||
#include <setjmp.h>
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
# include <locale.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_EVIL
|
||||
# include <Evil.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue