Identify clang compiler

This commit is contained in:
Mathias Gumz 2015-01-03 17:52:15 +01:00
parent 1a5d52481c
commit 362b5c191a

View file

@ -25,7 +25,9 @@
#ifdef __VERSION__ #ifdef __VERSION__
#define __fluxbox_compiler_version __VERSION__ #define __fluxbox_compiler_version __VERSION__
#ifdef __GNUG__ #ifdef __clang__
#define __fluxbox_compiler "CLANG"
#elif defined(__GNUG__)
#define __fluxbox_compiler "GCC" #define __fluxbox_compiler "GCC"
#endif // __GNUG__ #endif // __GNUG__