diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-11-26 09:17:04 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-11-26 10:28:44 +0100 |
commit | b18c2a0024c6d33cdf142ed2adf0d127483411e8 (patch) | |
tree | d057f01ff0a6799f8d61355e0b647298cdffea2c /sal | |
parent | 8ae97ead49b31899c194e6086bd0e53be17da62e (diff) |
-FIIntrin.h in CC/CXX is no longer needed for my clang-cl build
...at least with Clang 14 trunk now (but I didn't check which llvm commit would
be responsible for that, and which version of LLVM that appeared in first).
That also means the -D_CRT_RAND_S hack in CXX is no longer needed either. (See
the mail thread starting at
<https://lists.llvm.org/pipermail/cfe-dev/2015-November/046012.html> "[cfe-dev]
clang-cl question".)
Change-Id: If1b1b4fa17782161c3b72ac68fdef28b0e044a31
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125859
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/pch/precompiled_sal.hxx | 2 | ||||
-rw-r--r-- | sal/osl/w32/random.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sal/inc/pch/precompiled_sal.hxx b/sal/inc/pch/precompiled_sal.hxx index 94d43211d1c8..006c691a31e6 100644 --- a/sal/inc/pch/precompiled_sal.hxx +++ b/sal/inc/pch/precompiled_sal.hxx @@ -21,10 +21,8 @@ */ #if defined(_WIN32) -#if !defined _CRT_RAND_S #define _CRT_RAND_S #endif -#endif #include <sal/config.h> #if PCH_LEVEL >= 1 diff --git a/sal/osl/w32/random.cxx b/sal/osl/w32/random.cxx index c873a8d3b5f0..a2c364da2ebb 100644 --- a/sal/osl/w32/random.cxx +++ b/sal/osl/w32/random.cxx @@ -7,9 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#if !defined _CRT_RAND_S #define _CRT_RAND_S -#endif #include <stdlib.h> #include <memory.h> |