bits.c revision bcb4e51a409d94ae670de96afb8483a4f7855294
/* Copyright (c) 2001-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
/*
* We could use bits_required64() unconditionally, but that's unnecessary
* and way more heavy weight on 32-bit systems.
*/
#ifdef _LP64
#define BITS_REQUIRED(x) bits_required64(x)
#else
#define BITS_REQUIRED(x) bits_required32(x)
#endif
{
if (num == 0)
return 1;
}
/* Lucky you, it's all inline intrinsics */
#else
{
int ret = 0;
}
#endif