summaryrefslogtreecommitdiff
path: root/src/VBox/Main/include/AutoCaller.h
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2018-12-27 03:31:39 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2018-12-27 03:31:39 +0000
commitcb9e0ea11eedaa0275bea6e031f3c05b86101652 (patch)
treef177f42ae7e2999190aa19a56e77e2fadaf57e76 /src/VBox/Main/include/AutoCaller.h
parentbfbe5cc2da8f52a3bbe8a34e739e074e4b8aa19e (diff)
downloadVirtualBox-svn-cb9e0ea11eedaa0275bea6e031f3c05b86101652.tar.gz
Main/include: Slapped #pragma once on all headers in prep for GCC precompiled headers. Won't catch repeat includes of an already precompiled header otherwise, i.e. killing most of the PCH gain.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@76487 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Main/include/AutoCaller.h')
-rw-r--r--src/VBox/Main/include/AutoCaller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/VBox/Main/include/AutoCaller.h b/src/VBox/Main/include/AutoCaller.h
index e71bdfc80ff..83cc0581d02 100644
--- a/src/VBox/Main/include/AutoCaller.h
+++ b/src/VBox/Main/include/AutoCaller.h
@@ -18,6 +18,9 @@
#ifndef ____H_AUTOCALLER
#define ____H_AUTOCALLER
+#ifndef RT_WITHOUT_PRAGMA_ONCE
+# pragma once
+#endif
#include "ObjectState.h"