diff options
Diffstat (limited to 'src/common/atomic.h')
| -rw-r--r-- | src/common/atomic.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/common/atomic.h b/src/common/atomic.h new file mode 100644 index 000000000..883bc14fb --- /dev/null +++ b/src/common/atomic.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | // Copyright 2013 Dolphin Emulator Project | ||
| 2 | // Licensed under GPLv2 | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #ifndef _ATOMIC_H_ | ||
| 6 | #define _ATOMIC_H_ | ||
| 7 | |||
| 8 | #ifdef _WIN32 | ||
| 9 | |||
| 10 | #include "atomic_win32.h" | ||
| 11 | |||
| 12 | #else | ||
| 13 | |||
| 14 | // GCC-compatible compiler assumed! | ||
| 15 | #include "atomic_gcc.h" | ||
| 16 | |||
| 17 | #endif | ||
| 18 | |||
| 19 | #endif | ||