config: add HAVE_BUILTIN_FFSLL
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 09:46:40 +0000 (20:16 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 15 Nov 2010 09:46:40 +0000 (20:16 +1030)
config.h
tools/configurator/configurator.c

index bbba84d8e0d22a81d7069123521ad9e4c3a7f7b7..fc2b892d3a01423c943599022d9589aad83dfab3 100644 (file)
--- a/config.h
+++ b/config.h
@@ -18,6 +18,7 @@
 #define HAVE_BUILTIN_CONSTANT_P 1
 #define HAVE_BUILTIN_EXPECT 1
 #define HAVE_BUILTIN_FFSL 1
+#define HAVE_BUILTIN_FFSLL 1
 #define HAVE_BUILTIN_POPCOUNTL 1
 #define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1
 #define HAVE_BYTESWAP_H 1
index 1017e5c5a6378b9222bd118ba5ea3e8c39f69705..426a2ad7862f04b1997f9d61f6c3af4658581607 100644 (file)
@@ -71,6 +71,8 @@ static struct test tests[] = {
          "return __builtin_expect(argc == 1, 1) ? 0 : 1;" },
        { "HAVE_BUILTIN_FFSL", INSIDE_MAIN, NULL,
          "return __builtin_ffsl(0L) == 0 ? 0 : 1;" },
+       { "HAVE_BUILTIN_FFSLL", INSIDE_MAIN, NULL,
+         "return __builtin_ffsll(0LL) == 0 ? 0 : 1;" },
        { "HAVE_BUILTIN_POPCOUNTL", INSIDE_MAIN, NULL,
          "return __builtin_popcountl(255L) == 8 ? 0 : 1;" },
        { "HAVE_BUILTIN_TYPES_COMPATIBLE_P", INSIDE_MAIN, NULL,