summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-05-26 20:47:56 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-05-26 20:47:56 +0000
commit3edae70ea0bbede6d9ed57a91af9532101bd7ef8 (patch)
tree9a084452f23d7e1e63aa972bac23f3e637a168ae /Source/Core
parent3bf3c27d3e347057080173164600a1d34c180800 (diff)
Hack this dodgy compile-time assert so it works with gcc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5486 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/Common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/Common.h b/Source/Core/Common/Src/Common.h
index b254076165..aa2f01b662 100644
--- a/Source/Core/Common/Src/Common.h
+++ b/Source/Core/Common/Src/Common.h
@@ -94,7 +94,7 @@
#ifndef _SECURE_SCL
#error Please define _SECURE_SCL=0 in the project settings
#else
- CompileTimeAssert<_SECURE_SCL==0> EnsureNoSecureSCL;
+ CompileTimeAssert<_SECURE_SCL==0> volatile EnsureNoSecureSCL;
#endif
}