aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/atomic.h')
-rw-r--r--src/common/atomic.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/common/atomic.h b/src/common/atomic.h
new file mode 100644
index 00000000..883bc14f
--- /dev/null
+++ b/src/common/atomic.h
@@ -0,0 +1,19 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#ifndef _ATOMIC_H_
+#define _ATOMIC_H_
+
+#ifdef _WIN32
+
+#include "atomic_win32.h"
+
+#else
+
+// GCC-compatible compiler assumed!
+#include "atomic_gcc.h"
+
+#endif
+
+#endif