summaryrefslogtreecommitdiff
path: root/src/generic/evas/xcf/main.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-08-19 09:55:12 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-19 09:55:13 -0400
commit01b987df59154f87a5ed8688c272f0a04bc8c4c9 (patch)
treefb8f8fa042ab81e824db5a4c0fbda1614fb3056d /src/generic/evas/xcf/main.c
parentce3d1ec7e7c5574651dbf5c278356308528e2ea9 (diff)
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
Diffstat (limited to '')
-rw-r--r--src/generic/evas/xcf/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/generic/evas/xcf/main.c b/src/generic/evas/xcf/main.c
index 65e5e1b5b3..767c6bf4b1 100644
--- a/src/generic/evas/xcf/main.c
+++ b/src/generic/evas/xcf/main.c
@@ -1714,7 +1714,11 @@ main(int argc, char **argv)
1714 printf("alpha 1\n"); 1714 printf("alpha 1\n");
1715 if (!head_only) 1715 if (!head_only)
1716 { 1716 {
1717#ifdef _WIN32
1718 if (shm_fd) printf("shmfile %s\n", shmfile);
1719#else
1717 if (shm_fd >= 0) printf("shmfile %s\n", shmfile); 1720 if (shm_fd >= 0) printf("shmfile %s\n", shmfile);
1721#endif
1718 else 1722 else
1719 { 1723 {
1720 // could also to "tmpfile %s\n" like shmfile but just 1724 // could also to "tmpfile %s\n" like shmfile but just