diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2012-02-24 14:19:24 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2012-02-24 14:19:24 -0600 |
| commit | 8a8dc77ef19446f97d210f0602aaa218144adf0e (patch) | |
| tree | 74254a06ca1c76bb56b61026ed96651fb876977b /Source/Core | |
| parent | f15aeb26b37d88c451887709ead523e5aeb49390 (diff) | |
enable c++11 compilation in cmakelists
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/Src/StdThread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/StdThread.h b/Source/Core/Common/Src/StdThread.h index 6e9e903561..b64dbf2c4e 100644 --- a/Source/Core/Common/Src/StdThread.h +++ b/Source/Core/Common/Src/StdThread.h @@ -7,7 +7,9 @@ #if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ // GCC 4.4 provides <thread> +#ifndef _GLIBCXX_USE_SCHED_YIELD #define _GLIBCXX_USE_SCHED_YIELD +#endif #include <thread> #else |
