summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-05-08 12:39:54 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-05-08 12:39:54 +0100
commita4c44e5e744dba15dfe512668127906afd4b6dba (patch)
tree684068057eedd2641af4ccad70c005fd96897b4b /configure.ac
parent4473062dd482f89eb57f2bca120a742acec3b4f9 (diff)
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 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 57ae1f5..5b64175 100644
--- a/configure.ac
+++ b/configure.ac
@@ -265,6 +265,7 @@ case "$host_vendor" in
265 ;; 265 ;;
266esac 266esac
267 267
268AC_DEFINE([_POSIX_C_SOURCE], [1], [Define the POSIX version])
268AC_SUBST([MODULE_ARCH]) 269AC_SUBST([MODULE_ARCH])
269AC_DEFINE_UNQUOTED([MODULE_ARCH], ["${MODULE_ARCH}"], ["Module architecture"]) 270AC_DEFINE_UNQUOTED([MODULE_ARCH], ["${MODULE_ARCH}"], ["Module architecture"])
270AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects]) 271AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects])