From 31abe9e44df092a557a34537f6b4ffa48d12edc4 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 16 Apr 2017 19:39:37 +0200 Subject: 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 Reviewed-by: Markus Mohrhard --- sal/inc/pch/precompiled_sal.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sal/inc/pch/precompiled_sal.hxx') 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 #include -- cgit v1.2.3