From 148825dc29831be76f059f1e3863ea5cfa08e65e Mon Sep 17 00:00:00 2001 From: Bjoern Jacke Date: Fri, 21 Dec 2018 20:27:32 -0600 Subject: [PATCH] waf: let CHECK_SIZEOF check for 64 bit also wafsamba: utmp can be 64 bit also (like on AIX) BUG: https://bugzilla.samba.org/show_bug.cgi?id=12017 Signed-off-by: Bjoern Jacke --- buildtools/wafsamba/samba_autoconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index f2b3ec8..8992542 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -322,7 +322,7 @@ def CHECK_SIZEOF(conf, vars, headers=None, define=None, critical=True): ret = False if v_define is None: v_define = 'SIZEOF_%s' % v.upper().replace(' ', '_') - for size in list((1, 2, 4, 8, 16, 32)): + for size in list((1, 2, 4, 8, 16, 32, 64)): if CHECK_CODE(conf, 'static int test_array[1 - 2 * !(((long int)(sizeof(%s))) <= %d)];' % (v, size), define=v_define, -- 2.8.1