diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2019-05-08 12:39:54 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-05-08 12:39:54 +0100 |
commit | a4c44e5e744dba15dfe512668127906afd4b6dba (patch) | |
tree | 684068057eedd2641af4ccad70c005fd96897b4b /meson.build | |
parent | 4473062dd482f89eb57f2bca120a742acec3b4f9 (diff) | |
download | efl-a4c44e5e744dba15dfe512668127906afd4b6dba.tar.gz |
Evil: remove localtime_r as mingw-w64 defines it when _POSIX_C_SOURCE is defined
Summary: localtime_r() is already defined by mingw-w64 when _POSIX_C_SOURCE is defined
Test Plan: compilation
Reviewers: raster, zmike, cedric
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7907
Differential Revision: https://phab.enlightenment.org/D8854
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 2595461c62..b5856468cf 100644 --- a/meson.build +++ b/meson.build @@ -97,6 +97,7 @@ add_global_arguments(dev_cflags, language: 'cpp') foreach lang : ['c', 'objc', 'cpp'] add_global_arguments('-DHAVE_CONFIG_H=1', language: lang) add_global_arguments('-D_GNU_SOURCE=1', language: lang) + add_global_arguments('-D_POSIX_C_SOURCE=1', language: lang) add_global_arguments('-DEFL_BETA_API_SUPPORT=1', language: lang) add_global_arguments('-DNEED_RUN_IN_TREE=1', language: lang) add_global_arguments('-DEFL_BUILD=1', language: lang) |