diff options
author | Lucas <Coquinho@users.noreply.github.com> | 2020-07-28 09:15:59 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertise.dev> | 2020-12-15 16:10:26 -0300 |
commit | 38a94040a2409a0856cee918075cf555f8c7b885 (patch) | |
tree | 239bcd2b5334370e2dcf65480580abdbdbf3b751 /header_checks | |
parent | 9407a5fe76962292901e0cea5ca7d3e3def289c5 (diff) | |
download | efl-38a94040a2409a0856cee918075cf555f8c7b885.tar.gz |
evil: Implement evil_localtime_r using localtime
Implements `evil_localtime_r` using win32 [localtime
function](https://docs.microsoft.com/pt-br/cpp/c-runtime-library/reference/localtime-localtime32-localtime64?view=vs-2019).
If `HAVE_lOCALTIME_R` is not defined, define `localtime_r`
as `evil_localtime_r`
Co-authored-by: Felipe Magno de Almeida <felipe@expertise.dev>
Diffstat (limited to 'header_checks')
-rw-r--r-- | header_checks/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build index c71fdbf216..a2a0e097eb 100644 --- a/header_checks/meson.build +++ b/header_checks/meson.build @@ -88,6 +88,7 @@ function_checks = [ ['getxattr', ['sys/types.h', 'sys/xattr.h']], ['iconv', ['iconv.h']], ['listxattr', ['sys/types.h', 'sys/xattr.h']], + ['localtime_r', ['time.h']], ['malloc_info', ['malloc.h']], ['malloc_usable_size', ['malloc.h']], ['mkdirat', ['sys/stat.h']], |