diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-03 16:52:15 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-03 16:52:15 (GMT) |
commit | 362b5c191a15a32de871aeb93d8a2fc4f9ad5648 (patch) | |
tree | d0678f9ec00a02067b069c3247542e199a2e8501 | |
parent | 1a5d52481c8e2edbbf9e44725346e3e8cc5f6dac (diff) | |
download | fluxbox-362b5c191a15a32de871aeb93d8a2fc4f9ad5648.zip fluxbox-362b5c191a15a32de871aeb93d8a2fc4f9ad5648.tar.bz2 |
Identify clang compiler
-rw-r--r-- | version.h.in | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
25 | #ifdef __VERSION__ | 25 | #ifdef __VERSION__ |
26 | #define __fluxbox_compiler_version __VERSION__ | 26 | #define __fluxbox_compiler_version __VERSION__ |
27 | 27 | ||
28 | #ifdef __GNUG__ | 28 | #ifdef __clang__ |
29 | #define __fluxbox_compiler "CLANG" | ||
30 | #elif defined(__GNUG__) | ||
29 | #define __fluxbox_compiler "GCC" | 31 | #define __fluxbox_compiler "GCC" |
30 | #endif // __GNUG__ | 32 | #endif // __GNUG__ |
31 | 33 | ||