summaryrefslogtreecommitdiffstats
path: root/src/common/atomic_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/atomic_win32.h')
-rw-r--r--src/common/atomic_win32.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/atomic_win32.h b/src/common/atomic_win32.h
index f8ec80520..0808905f0 100644
--- a/src/common/atomic_win32.h
+++ b/src/common/atomic_win32.h
@@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#ifndef _ATOMIC_WIN32_H_
-#define _ATOMIC_WIN32_H_
+#pragma once
#include "common/common.h"
#include <intrin.h>
@@ -68,5 +67,3 @@ inline void AtomicStoreRelease(volatile u32& dest, u32 value) {
}
}
-
-#endif