/*
* Copyright (c) 2000-2002 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*/
int
int argc;
char **argv;
{
char *r;
/*
** sendmail assumes that ino_t, off_t and void* can be cast
** to ULONGLONG_T without losing information.
*/
!SM_TEST(sizeof(void*) <= sizeof(ULONGLONG_T)))
{
Your C compiler appears to support a 64 bit integral type,\n\
but libsm is not configured to use it. You will need to set\n\
for more details.\n");
}
/*
** Most compilers notice that LLONG_MIN - 1 generate an underflow.
** Some compiler generate code that will use the 'X' status bit
** in a CPU and hence (LLONG_MIN - 1 > LLONG_MIN) will be false.
** So we have to decide whether we want compiler warnings or
** a wrong test...
** Question: where do we really need what this test tests?
*/
Your C compiler maybe issued a warning during compilation,\n\
please IGNORE the compiler warning!.\n");
r = "0";
{
"oops: LLONG_MIN=%s\n", buf);
}
r = "f";
{
"oops: LLONG_MAX=%s\n", buf);
}
#endif /* SM_CONF_TEST_LLONG */
ull = ULLONG_MAX;
r = "f";
/*
** If QUAD_MAX is defined by <limits.h> then quad_t is defined.
** Make sure LONGLONG_T is at least as big as quad_t.
*/
#ifdef QUAD_MAX
#endif
return sm_test_end();
}