diff options
author | Bjoern Jacke <bj@sernet.de> | 2018-12-21 20:27:32 -0600 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2019-01-02 14:10:41 +0100 |
commit | f353c930969f08a5aabe6a7c409f98dbcf90fe9e (patch) | |
tree | d537f09d32976ab2138ef226464b4a65c5b08b0b /buildtools | |
parent | 3d016d6f327058db49f6920e92102df4dcc85945 (diff) | |
download | samba-f353c930969f08a5aabe6a7c409f98dbcf90fe9e.tar.gz |
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 <bj@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Jan 2 14:10:41 CET 2019 on sn-devel-144
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 58800d24351..6208e3b0439 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -323,7 +323,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, |