[Libreoffice-commits] core.git: sal/inc

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Apr 16 19:11:20 UTC 2017


 sal/inc/pch/precompiled_sal.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 31abe9e44df092a557a34537f6b4ffa48d12edc4
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Apr 16 19:39:37 2017 +0200

    try to fix werror + pch build on linux
    
    This should fix RandomConfig tb run #396
    
    Change-Id: Idd7984e3c4225b08db50b2451112135aaf2e1890
    Reviewed-on: https://gerrit.libreoffice.org/36584
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sal/inc/pch/precompiled_sal.hxx b/sal/inc/pch/precompiled_sal.hxx
index 8699e20ce1e1..06a35d546a4b 100644
--- a/sal/inc/pch/precompiled_sal.hxx
+++ b/sal/inc/pch/precompiled_sal.hxx
@@ -20,9 +20,11 @@
  ./bin/update_pch_bisect ./sal/inc/pch/precompiled_sal.hxx "make sal.build" --find-conflicts
 */
 
+#if defined(_WIN32)
 #if !defined _CRT_RAND_S
 #define _CRT_RAND_S
 #endif
+#endif
 
 #include <algorithm>
 #include <cassert>


More information about the Libreoffice-commits mailing list