xref: /freebsd-src/contrib/sendmail/include/sm/os/sm_os_unixware.h (revision ee7b0571c2c18bdec848ed2044223cc88db29bd8)
140266059SGregory Neil Shapiro /*
25dd76dd0SGregory Neil Shapiro  * Copyright (c) 2001, 2002 Proofpoint, Inc. and its suppliers.
340266059SGregory Neil Shapiro  *	All rights reserved.
440266059SGregory Neil Shapiro  *
540266059SGregory Neil Shapiro  * By using this file, you agree to the terms and conditions set
640266059SGregory Neil Shapiro  * forth in the LICENSE file which can be found at the top level of
740266059SGregory Neil Shapiro  * the sendmail distribution.
840266059SGregory Neil Shapiro  *
9*4313cc83SGregory Neil Shapiro  *	$Id: sm_os_unixware.h,v 1.9 2013-11-22 20:51:34 ca Exp $
1040266059SGregory Neil Shapiro  */
1140266059SGregory Neil Shapiro 
1240266059SGregory Neil Shapiro #define SM_OS_NAME	"unixware"
1340266059SGregory Neil Shapiro 
1413bd1963SGregory Neil Shapiro #ifndef SM_CONF_LONGLONG
1513bd1963SGregory Neil Shapiro # if defined(__SCO_VERSION__) && __SCO_VERSION__ > 400000000L
1613bd1963SGregory Neil Shapiro #  define SM_CONF_LONGLONG	1
1713bd1963SGregory Neil Shapiro #  define SM_CONF_TEST_LLONG	1
1813bd1963SGregory Neil Shapiro #  define SM_CONF_BROKEN_SIZE_T	0
1913bd1963SGregory Neil Shapiro # endif /* defined(__SCO_VERSION__) && __SCO_VERSION__ > 400000000L */
2013bd1963SGregory Neil Shapiro #endif /* !SM_CONF_LONGLONG */
2113bd1963SGregory Neil Shapiro 
2240266059SGregory Neil Shapiro /* try LLONG tests in libsm/t-types.c? */
2340266059SGregory Neil Shapiro #ifndef SM_CONF_TEST_LLONG
2440266059SGregory Neil Shapiro # define SM_CONF_TEST_LLONG	0
2540266059SGregory Neil Shapiro #endif /* !SM_CONF_TEST_LLONG */
2640266059SGregory Neil Shapiro 
2740266059SGregory Neil Shapiro /* needs alarm(), our sleep() otherwise hangs. */
2840266059SGregory Neil Shapiro #define SM_CONF_SETITIMER	0
2940266059SGregory Neil Shapiro 
3040266059SGregory Neil Shapiro #ifndef SM_CONF_SHM
3140266059SGregory Neil Shapiro # define SM_CONF_SHM	1
3240266059SGregory Neil Shapiro #endif /* SM_CONF_SHM */
3340266059SGregory Neil Shapiro 
3440266059SGregory Neil Shapiro /* size_t seems to be signed */
3513bd1963SGregory Neil Shapiro #ifndef SM_CONF_BROKEN_SIZE_T
3640266059SGregory Neil Shapiro # define SM_CONF_BROKEN_SIZE_T	1
3713bd1963SGregory Neil Shapiro #endif /* SM_CONF_BROKEN_SIZE_T */
3840266059SGregory Neil Shapiro 
3940266059SGregory Neil Shapiro /* don't use flock() in mail.local.c */
4040266059SGregory Neil Shapiro #ifndef LDA_USE_LOCKF
4140266059SGregory Neil Shapiro # define LDA_USE_LOCKF	1
4240266059SGregory Neil Shapiro #endif /* LDA_USE_LOCKF */
43