summaryrefslogtreecommitdiff
path: root/includes/rts/SpinLock.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rts/SpinLock.h')
-rw-r--r--includes/rts/SpinLock.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/includes/rts/SpinLock.h b/includes/rts/SpinLock.h
index dccd86705c..6530a3a2f0 100644
--- a/includes/rts/SpinLock.h
+++ b/includes/rts/SpinLock.h
@@ -19,9 +19,8 @@
*
* -------------------------------------------------------------------------- */
-#ifndef RTS_SPINLOCK_H
-#define RTS_SPINLOCK_H
-
+#pragma once
+
#if defined(THREADED_RTS)
#if defined(PROF_SPIN)
@@ -112,6 +111,3 @@ INLINE_HEADER void initSpinLock(void * p STG_UNUSED)
{ /* nothing */ }
#endif /* THREADED_RTS */
-
-#endif /* RTS_SPINLOCK_H */
-