barbieri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6e12d4f86cd3925fe8737f0ae5f09240b4d274d3
commit 6e12d4f86cd3925fe8737f0ae5f09240b4d274d3 Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi> Date: Fri Sep 16 07:26:54 2016 -0300 efl_io_file: unbreak windows build (missing O_CLOEXEC). To avoid many ifdef, define the flag to 0 so we "| 0" or "& ~0", that have no effect. Fixes T4612. --- src/lib/ecore/efl_io_file.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/ecore/efl_io_file.c b/src/lib/ecore/efl_io_file.c index a5ec38f..f6588bb 100644 --- a/src/lib/ecore/efl_io_file.c +++ b/src/lib/ecore/efl_io_file.c @@ -16,6 +16,15 @@ #include <sys/stat.h> #include <fcntl.h> +#ifndef O_CLOEXEC +/* If a platform doesn't define O_CLOEXEC, then use 0 as we'll "| 0" + * and "& ~0", which have no effect. + * + * This should be the case on _WIN32. + */ +#define O_CLOEXEC (0) +#endif + #define MY_CLASS EFL_IO_FILE_CLASS typedef struct _Efl_Io_File_Data --