Temporary fix for HASHMAP_DEPRECATED on clang.

This commit is contained in:
Peter Powell 2012-11-07 10:33:30 +00:00 committed by attilamolnar
parent 9ffdda87bd
commit e74da8e6e9

2
configure vendored
View File

@ -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";
}