eina: follow Vincent advice.
authorCedric BAIL <cedric.bail@free.fr>
Mon, 5 Dec 2011 14:25:25 +0000 (14:25 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Mon, 5 Dec 2011 14:25:25 +0000 (14:25 +0000)
SVN revision: 65905

legacy/eina/configure.ac
legacy/eina/src/lib/eina_file.c

index 580774e..decd530 100644 (file)
@@ -371,14 +371,6 @@ if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then
 fi
 AC_SUBST([EINA_CONFIGURE_HAVE_STDINT_H])
 
-if test "x${ac_cv_header_strings_h}" = "xyes" ; then
-    AC_DEFINE([HAVE_STRINGS_H], [1], [Define to 1 if you have the <strings.h> header file.])
-fi
-
-if test "x${ac_cv_header_sys_mman_h}" = "xyes" ; then
-    AC_DEFINE([HAVE_MMAN_H], [1], [Define to 1 if you have the <sys/mman.h> header file.])
-fi
-
 ### Checks for types
 
 AC_CHECK_SIZEOF([wchar_t])
index bc0632c..f5df52e 100644 (file)
@@ -46,7 +46,7 @@ void *alloca (size_t);
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#ifdef HAVE_MMAN_H
+#ifdef HAVE_SYS_MMAN_H
 # include <sys/mman.h>
 #endif
 #include <fcntl.h>