Changed: Define CLANG_VERSION is using clang compiler

This commit is contained in:
kervala 2016-01-04 19:18:19 +01:00
parent 15e5b9b9f7
commit 5d46db2bda

View file

@ -191,6 +191,10 @@
# define NL_ISO_STDTR1_HEADER(header) <header>
# define NL_ISO_STDTR1_NAMESPACE std
# endif
# endif
// clang define GCC version for compatibility
# ifdef __clang__
# define CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
# endif
#endif