diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-21 10:05:41 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-21 11:31:20 +0100 |
commit | acc65ffb2ca76f6d6d57749ddbe6da301ba54b8a (patch) | |
tree | de44ae65bed2a8ca5311f6ca97ede4931cd1a75c /sal | |
parent | 18c1d56353838a393de5d75da65cc68e17d78492 (diff) |
SAL_N_ELEMENTS: use "check argument is array" version in all C++0x compilers
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/sal/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/inc/sal/macros.h b/sal/inc/sal/macros.h index b002248d221a..a1f42c3f260d 100644 --- a/sal/inc/sal/macros.h +++ b/sal/inc/sal/macros.h @@ -44,7 +44,7 @@ #endif #ifndef SAL_N_ELEMENTS -# if defined(__cplusplus) && defined(__GXX_EXPERIMENTAL_CXX0X__) +# if defined(__cplusplus) && ( defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L ) /* * Magic template to calculate at compile time the number of elements * in an array. Enforcing that the argument must be a array and not |