blob: 56663c5e7f586ecd4a6fea68780b85d55d612b71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
diff --git a/libretroshare/src/util/cxx11retrocompat.h b/libretroshare/src/util/cxx11retrocompat.h
index 587b1374d..2acf87995 100644
--- a/libretroshare/src/util/cxx11retrocompat.h
+++ b/libretroshare/src/util/cxx11retrocompat.h
@@ -19,11 +19,13 @@
#ifdef __GNUC__
# define GCC_VERSION (__GNUC__*10000+__GNUC_MINOR__*100+__GNUC_PATCHLEVEL__)
-# if GCC_VERSION < 40700
-# define override
-# define final
-# endif // GCC version < 40700
-# if GCC_VERSION < 40600
-# define nullptr NULL
-# endif // GCC_VERSION < 40600
+# ifndef __clang__
+# if GCC_VERSION < 40700
+# define override
+# define final
+# endif // GCC version < 40700
+# if GCC_VERSION < 40600
+# define nullptr NULL
+# endif // GCC_VERSION < 40600
+# endif //__clang__
#endif //defined GNUC
|