summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2012-11-07 10:33:30 +0000
committerattilamolnar <attilamolnar@hush.com>2012-11-07 16:19:56 +0100
commite74da8e6e931326ef833c7bd5bab2fff72360382 (patch)
treeb9616527cd656aa215aeed7d6b0a27bf6177d82b /configure
parent9ffdda87bda7a483350415af381a806b510a0c5c (diff)
Temporary fix for HASHMAP_DEPRECATED on clang.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index f2b5d0698..dc7d11391 100755
--- a/configure
+++ b/configure
@@ -908,6 +908,8 @@ print FILEHANDLE "#define MAXBUF " . ($config{MAXBUF}+2) . "\n";
(($config{GCCVER} == 4) && ($config{GCCMINOR} >= 3))
||
($config{GCCVER} > 4)
+ || # HACK: temporary fix for non-GCC (i.e. clang) builds
+ ($config{CC} !~ /gcc/)
) {
print FILEHANDLE "#define HASHMAP_DEPRECATED\n";
}