190792Sgshapiro/*
2261370Sgshapiro * Copyright (c) 2001, 2002 Proofpoint, Inc. and its suppliers.
390792Sgshapiro *	All rights reserved.
490792Sgshapiro *
590792Sgshapiro * By using this file, you agree to the terms and conditions set
690792Sgshapiro * forth in the LICENSE file which can be found at the top level of
790792Sgshapiro * the sendmail distribution.
890792Sgshapiro *
9266711Sgshapiro *	$Id: sm_os_unixware.h,v 1.9 2013-11-22 20:51:34 ca Exp $
1090792Sgshapiro */
1190792Sgshapiro
1290792Sgshapiro#define SM_OS_NAME	"unixware"
1390792Sgshapiro
14110560Sgshapiro#ifndef SM_CONF_LONGLONG
15110560Sgshapiro# if defined(__SCO_VERSION__) && __SCO_VERSION__ > 400000000L
16110560Sgshapiro#  define SM_CONF_LONGLONG	1
17110560Sgshapiro#  define SM_CONF_TEST_LLONG	1
18110560Sgshapiro#  define SM_CONF_BROKEN_SIZE_T	0
19110560Sgshapiro# endif /* defined(__SCO_VERSION__) && __SCO_VERSION__ > 400000000L */
20110560Sgshapiro#endif /* !SM_CONF_LONGLONG */
21110560Sgshapiro
2290792Sgshapiro/* try LLONG tests in libsm/t-types.c? */
2390792Sgshapiro#ifndef SM_CONF_TEST_LLONG
2490792Sgshapiro# define SM_CONF_TEST_LLONG	0
2590792Sgshapiro#endif /* !SM_CONF_TEST_LLONG */
2690792Sgshapiro
2790792Sgshapiro/* needs alarm(), our sleep() otherwise hangs. */
2890792Sgshapiro#define SM_CONF_SETITIMER	0
2990792Sgshapiro
3090792Sgshapiro#ifndef SM_CONF_SHM
3190792Sgshapiro# define SM_CONF_SHM	1
3290792Sgshapiro#endif /* SM_CONF_SHM */
3390792Sgshapiro
3490792Sgshapiro/* size_t seems to be signed */
35110560Sgshapiro#ifndef SM_CONF_BROKEN_SIZE_T
36110560Sgshapiro# define SM_CONF_BROKEN_SIZE_T	1
37110560Sgshapiro#endif /* SM_CONF_BROKEN_SIZE_T */
3890792Sgshapiro
3990792Sgshapiro/* don't use flock() in mail.local.c */
4090792Sgshapiro#ifndef LDA_USE_LOCKF
4190792Sgshapiro# define LDA_USE_LOCKF	1
4290792Sgshapiro#endif /* LDA_USE_LOCKF */
43