diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-07-02 17:43:32 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-10 14:46:46 +0100 |
commit | 022712c56a985cb78f0eac0e74a5b618f68eb379 (patch) | |
tree | ac13c9871d90f4d2752788fac97afe08ed97e664 /sal/inc/pch | |
parent | 24ae46df5ed90c4f563e8acfbf66ce3bb14e6f5d (diff) |
include guards for precompiled_xxx.hxx files
It seems this makes clang somewhat faster.
Change-Id: I5a22763acf7991c45d7e9fd25eb0b5bda1fae27f
Diffstat (limited to 'sal/inc/pch')
-rw-r--r-- | sal/inc/pch/precompiled_sal.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sal/inc/pch/precompiled_sal.hxx b/sal/inc/pch/precompiled_sal.hxx index 11c10b293835..56f5004ed550 100644 --- a/sal/inc/pch/precompiled_sal.hxx +++ b/sal/inc/pch/precompiled_sal.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef PRECOMPILED_SAL_HXX +#define PRECOMPILED_SAL_HXX + #ifdef PRECOMPILED_HEADERS #include <vector> @@ -30,4 +33,7 @@ #endif +#endif // PRECOMPILED_SAL_HXX + + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |