Changed: Define CLANG_VERSION is using clang compiler
--HG-- branch : develop
This commit is contained in:
parent
0fe6ec67ba
commit
ae752f72d8
1 changed files with 4 additions and 0 deletions
|
@ -191,6 +191,10 @@
|
||||||
# define NL_ISO_STDTR1_HEADER(header) <header>
|
# define NL_ISO_STDTR1_HEADER(header) <header>
|
||||||
# define NL_ISO_STDTR1_NAMESPACE std
|
# define NL_ISO_STDTR1_NAMESPACE std
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
|
// clang define GCC version for compatibility
|
||||||
|
# ifdef __clang__
|
||||||
|
# define CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue