diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index 44ee2c02..af75514c 100644 --- a/src/utils.h +++ b/src/utils.h @@ -523,7 +523,7 @@ inline void check_for_signal() { */ /*@{*/ -#if (__cplusplus > 199711) +#if defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__ #define foreach(x, y) for (x : y) #define unique_ptr std::unique_ptr #else |