summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-02-14 13:18:53 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-02-15 11:20:38 +0000
commitbddb5385638e0aa90f6f2419a023a1c8c9bd387e (patch)
tree13fcf52dad3ea78817d97b4be02431119efe433d
parentffccc27b1df07b5e0c52196facd5a9c63e60539a (diff)
eina file - close on exec - doesnt exist on windows - vtorri
-rw-r--r--src/lib/eina/eina_file_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index c1517d5874..edd2380670 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -1150,7 +1150,9 @@ eina_file_shutdown(void)
1150EAPI Eina_Bool 1150EAPI Eina_Bool
1151eina_file_close_on_exec(int fd, Eina_Bool on) 1151eina_file_close_on_exec(int fd, Eina_Bool on)
1152{ 1152{
1153#ifdef HAVE_FCNTL 1153#ifdef _WIN32
1154 return EINA_TRUE;
1155#elif HAVE_FCNTL
1154 int flags; 1156 int flags;
1155 1157
1156 flags = fcntl(fd, F_GETFD); 1158 flags = fcntl(fd, F_GETFD);