From 5536bcd90e5f943c843b1f406c762ea83778ebdf Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 5 Aug 2019 11:27:16 +0000 Subject: remove useless definition of the macro HAVE_MMAN_H use HAVE_SYS_MMAN_H when including sys/mman.h and HAVE_MMAP when using mmap() Reviewed-by: Marcel Hollerbach Differential Revision: https://phab.enlightenment.org/D9494 --- header_checks/meson.build | 4 ---- 1 file changed, 4 deletions(-) (limited to 'header_checks') diff --git a/header_checks/meson.build b/header_checks/meson.build index 4f71dbde5c..cf16f61179 100644 --- a/header_checks/meson.build +++ b/header_checks/meson.build @@ -205,10 +205,6 @@ if (cc.has_header_symbol('sys/stat.h', 'fstatat')) config_h.set10('HAVE_ATFILE_SOURCE', true) endif -if (cc.has_header('sys/mman.h')) - config_h.set10('HAVE_MMAN_H', true) -endif - if sys_linux and config_h.has('HAVE_LISTXATTR') and config_h.has('HAVE_SETXATTR') and config_h.has('HAVE_GETXATTR') config_h.set10('HAVE_XATTR', true) endif -- cgit v1.2.1