diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2019-08-05 11:27:16 +0000 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-08-06 10:01:39 +0200 |
commit | 5536bcd90e5f943c843b1f406c762ea83778ebdf (patch) | |
tree | 1330bb33db2f01905f4c796233e1e32c2a993d61 /header_checks | |
parent | 660d9937525c0b43d8d820507a50c2381ce9573c (diff) | |
download | efl-5536bcd90e5f943c843b1f406c762ea83778ebdf.tar.gz |
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 <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9494
Diffstat (limited to 'header_checks')
-rw-r--r-- | header_checks/meson.build | 4 |
1 files changed, 0 insertions, 4 deletions
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 |