From 4beaacb62203c3ab14fa51dd5ee494f787489e71 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Thu, 31 Jul 2014 21:56:51 -0700 Subject: [PATCH] Fixing build on linux. --- src/poly/atomic.h | 4 ++-- xenia.gyp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/poly/atomic.h b/src/poly/atomic.h index 634b2d101..51c0ec9de 100644 --- a/src/poly/atomic.h +++ b/src/poly/atomic.h @@ -88,8 +88,8 @@ inline int64_t atomic_exchange(int64_t new_value, volatile int64_t* value) { inline int32_t atomic_cas(int32_t old_value, int32_t new_value, volatile int32_t* value) { - return __sync_bool_compare_and_swap(reinterpret_cast(value), - old_value, new_value); + return __sync_bool_compare_and_swap( + reinterpret_cast(value), old_value, new_value); } #else diff --git a/xenia.gyp b/xenia.gyp index e00108f76..06ad0d428 100644 --- a/xenia.gyp +++ b/xenia.gyp @@ -60,7 +60,7 @@ ], 'cflags': [ - #'-std=c99', + '-std=c++11', ], 'configurations': {