summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-04-08 13:50:57 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-04-08 17:22:41 +0200
commitb8901e8beac21087c69cc5c343850eff809ab3a7 (patch)
treee3427d11afb1e755e6eec9b227b74f288c0c6532 /include
parent15a0bdd32df89aa8d2e5ab49e07061f0708651e6 (diff)
allow more trivial #if's for including headers in PCHs
Change-Id: I734ac1832bafe0f4e5710b9b27bd03833179e2d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113800 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/osl/time.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/osl/time.h b/include/osl/time.h
index 43661d4ac421..5c5096cada8a 100644
--- a/include/osl/time.h
+++ b/include/osl/time.h
@@ -26,9 +26,11 @@
#include "sal/config.h"
-#if defined LIBO_INTERNAL_ONLY && defined __cplusplus
+#if defined LIBO_INTERNAL_ONLY
+#if defined __cplusplus
#include <chrono>
#endif
+#endif
#include "sal/saldllapi.h"
#include "sal/types.h"