efl: remove check for inttypes.h and stdint.h
SVN revision: 82580
This commit is contained in:
parent
f60bfe38d6
commit
23b741699f
|
@ -380,11 +380,9 @@ AC_HEADER_TIME
|
|||
AC_CHECK_HEADERS([ \
|
||||
execinfo.h \
|
||||
errno.h \
|
||||
inttypes.h \
|
||||
libgen.h \
|
||||
mcheck.h \
|
||||
netinet/in.h \
|
||||
stdint.h \
|
||||
sys/epoll.h \
|
||||
sys/inotify.h \
|
||||
sys/signalfd.h \
|
||||
|
@ -804,9 +802,6 @@ CFLAGS="${CFLAGS} ${EINA_CFLAGS}"
|
|||
AC_CHECK_HEADERS([sys/mman.h])
|
||||
CFLAGS="${CFLAGS_save}"
|
||||
|
||||
EINA_CONFIG([HAVE_INTTYPES_H], [test "x${ac_cv_header_inttypes_h}" = "xyes"])
|
||||
EINA_CONFIG([HAVE_STDINT_H], [test "x${ac_cv_header_stdint_h}" = "xyes"])
|
||||
|
||||
### Checks for types
|
||||
|
||||
EINA_CONFIG([HAVE_DIRENT_H], [test "x${have_dirent}" = "xyes"])
|
||||
|
|
|
@ -38,16 +38,6 @@
|
|||
#endif
|
||||
@EINA_CONFIGURE_SAFETY_CHECKS@
|
||||
|
||||
#ifdef EINA_HAVE_INTTYPES_H
|
||||
# undef EINA_HAVE_INTTYPES_H
|
||||
#endif
|
||||
@EINA_CONFIGURE_HAVE_INTTYPES_H@
|
||||
|
||||
#ifdef EINA_HAVE_STDINT_H
|
||||
# undef EINA_HAVE_STDINT_H
|
||||
#endif
|
||||
@EINA_CONFIGURE_HAVE_STDINT_H@
|
||||
|
||||
#ifndef EINA_HAVE_THREADS
|
||||
#define EINA_HAVE_THREADS
|
||||
#endif
|
||||
|
|
|
@ -23,12 +23,9 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <Evil.h>
|
||||
#endif
|
||||
|
|
|
@ -28,18 +28,11 @@
|
|||
#if EINA_SIZEOF_WCHAR_T >= 4
|
||||
# include <wchar.h>
|
||||
typedef wchar_t Eina_Unicode;
|
||||
#elif defined(EINA_HAVE_INTTYPES_H)
|
||||
#else
|
||||
# include <inttypes.h>
|
||||
typedef uint32_t Eina_Unicode;
|
||||
#elif defined(EINA_HAVE_STDINT_H)
|
||||
# include <stdint.h>
|
||||
typedef uint32_t Eina_Unicode;
|
||||
#else
|
||||
/* Hope that int is big enough */
|
||||
typedef unsigned int Eina_Unicode;
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* @brief Same as the standard strlen just with Eina_Unicode instead of char.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue