From 01b987df59154f87a5ed8688c272f0a04bc8c4c9 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 19 Aug 2019 09:55:12 -0400 Subject: make mman.h private Summary: integrate mman.h to make Evil private to the EFL, as mman.h does not exist on Windows. After a discussion with raster, i include sys/mman.h only on non Windows platform. One issue, though, is that src/modules/emotion/generic/Emotion_Generic_Plugin.h has inlined functions using mmap() Test Plan: compilation on Windows Reviewers: cedric, raster, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9542 --- header_checks/meson.build | 2 -- 1 file changed, 2 deletions(-) (limited to 'header_checks') diff --git a/header_checks/meson.build b/header_checks/meson.build index 520b4ea843..c83f48b897 100644 --- a/header_checks/meson.build +++ b/header_checks/meson.build @@ -248,8 +248,6 @@ config_h.set('SIZEOF_INT', cc.sizeof('int')) config_h.set('SIZEOF_LONG', cc.sizeof('long')) if sys_windows == true - config_h.set('HAVE_DLSYM', '1') config_h.set('HAVE_NOTIFY_WIN32', '1') - config_h.set10('HAVE_WINDOWS_H', true) config_h.set10('HAVE_DDRAW_H', true) endif -- cgit v1.2.1