diff options
Diffstat (limited to 'sendmail/include/sm/os/sm_os_unixware.h')
-rw-r--r-- | sendmail/include/sm/os/sm_os_unixware.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sendmail/include/sm/os/sm_os_unixware.h b/sendmail/include/sm/os/sm_os_unixware.h new file mode 100644 index 0000000..6c7bfe6 --- /dev/null +++ b/sendmail/include/sm/os/sm_os_unixware.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2001, 2002 Sendmail, 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. + * + * $Id: sm_os_unixware.h,v 1.8 2002/10/24 18:04:54 ca Exp $ + */ + +#define SM_OS_NAME "unixware" + +#ifndef SM_CONF_LONGLONG +# if defined(__SCO_VERSION__) && __SCO_VERSION__ > 400000000L +# define SM_CONF_LONGLONG 1 +# define SM_CONF_TEST_LLONG 1 +# define SM_CONF_BROKEN_SIZE_T 0 +# endif /* defined(__SCO_VERSION__) && __SCO_VERSION__ > 400000000L */ +#endif /* !SM_CONF_LONGLONG */ + +/* try LLONG tests in libsm/t-types.c? */ +#ifndef SM_CONF_TEST_LLONG +# define SM_CONF_TEST_LLONG 0 +#endif /* !SM_CONF_TEST_LLONG */ + +/* needs alarm(), our sleep() otherwise hangs. */ +#define SM_CONF_SETITIMER 0 + +#ifndef SM_CONF_SHM +# define SM_CONF_SHM 1 +#endif /* SM_CONF_SHM */ + +/* size_t seems to be signed */ +#ifndef SM_CONF_BROKEN_SIZE_T +# define SM_CONF_BROKEN_SIZE_T 1 +#endif /* SM_CONF_BROKEN_SIZE_T */ + +/* don't use flock() in mail.local.c */ +#ifndef LDA_USE_LOCKF +# define LDA_USE_LOCKF 1 +#endif /* LDA_USE_LOCKF */ |