diff options
-rw-r--r-- | sal/inc/pch/precompiled_sal.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
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> |