From 362b5c191a15a32de871aeb93d8a2fc4f9ad5648 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Sat, 3 Jan 2015 17:52:15 +0100 Subject: Identify clang compiler --- version.h.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/version.h.in b/version.h.in index b457555..6167278 100644 --- a/version.h.in +++ b/version.h.in @@ -25,7 +25,9 @@ #ifdef __VERSION__ #define __fluxbox_compiler_version __VERSION__ -#ifdef __GNUG__ +#ifdef __clang__ +#define __fluxbox_compiler "CLANG" +#elif defined(__GNUG__) #define __fluxbox_compiler "GCC" #endif // __GNUG__ -- cgit v0.11.2