diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-03-02 23:40:06 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-03-03 17:34:35 +0100 |
commit | 657d8c3e323c7353ce6fa1170532cb6e33d4b74f (patch) | |
tree | f024255d34e607e572472d5a9340de261f307d1c /config_host_lang.mk.in | |
parent | 131d5cdbb9526477864ea3bd839deab0e544b821 (diff) |
Use thread_local statics in dtoa.c to be thread-safe
We don't use MULTIPLE_THREADS for that to avoid performance
penalty due to locking and memory allocation.
Use dtoa.cxx stub to compile dtoa.c as C++, to allow using
thread_local keyword in MSVC, which still implements pre-C99.
Also don't expose dtoa() and other symbols - make them static.
And define IEEE_MC68k, not IEEE_8087 on big endian platforms.
Change-Id: Ie59fe0cf057b043556a5ac15ec6b11a1a5b41f47
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89629
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'config_host_lang.mk.in')
0 files changed, 0 insertions, 0 deletions