1 /* 2 * Copyright (c) 2001, 2002 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * 5 * By using this file, you agree to the terms and conditions set 6 * forth in the LICENSE file which can be found at the top level of 7 * the sendmail distribution. 8 * 9 * $Id: sm_os_unixware.h,v 1.8 2002/10/24 18:04:54 ca Exp $ 10 */ 11 12 #define SM_OS_NAME "unixware" 13 14 #ifndef SM_CONF_LONGLONG 15 # if defined(__SCO_VERSION__) && __SCO_VERSION__ > 400000000L 16 # define SM_CONF_LONGLONG 1 17 # define SM_CONF_TEST_LLONG 1 18 # define SM_CONF_BROKEN_SIZE_T 0 19 # endif /* defined(__SCO_VERSION__) && __SCO_VERSION__ > 400000000L */ 20 #endif /* !SM_CONF_LONGLONG */ 21 22 /* try LLONG tests in libsm/t-types.c? */ 23 #ifndef SM_CONF_TEST_LLONG 24 # define SM_CONF_TEST_LLONG 0 25 #endif /* !SM_CONF_TEST_LLONG */ 26 27 /* needs alarm(), our sleep() otherwise hangs. */ 28 #define SM_CONF_SETITIMER 0 29 30 #ifndef SM_CONF_SHM 31 # define SM_CONF_SHM 1 32 #endif /* SM_CONF_SHM */ 33 34 /* size_t seems to be signed */ 35 #ifndef SM_CONF_BROKEN_SIZE_T 36 # define SM_CONF_BROKEN_SIZE_T 1 37 #endif /* SM_CONF_BROKEN_SIZE_T */ 38 39 /* don't use flock() in mail.local.c */ 40 #ifndef LDA_USE_LOCKF 41 # define LDA_USE_LOCKF 1 42 #endif /* LDA_USE_LOCKF */ 43