xref: /freebsd/contrib/sendmail/include/sm/os/sm_os_openbsd.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1 /*
2  * Copyright (c) 2000 Proofpoint, 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_openbsd.h,v 1.8 2013-11-22 20:51:34 ca Exp $
10  */
11 
12 /*
13 **  sm_os_openbsd.h -- platform definitions for OpenBSD
14 **
15 **  Note: this header file cannot be called OpenBSD.h
16 **  because <sys/param.h> defines the macro OpenBSD.
17 */
18 
19 #define SM_OS_NAME	"openbsd"
20 
21 /*
22 **  Temporary HACK for newer icu4c versions which include stdbool.h:
23 **  pretend that it is already included
24 **  otherwise compilation will break because bool is then
25 **  redefined between the prototype declaration and
26 **  the function definition, e.g.,
27 **	lowercase.c: error: conflicting types for 'asciistr'
28 **	../../include/sm/ixlen.h:29:13: note: previous declaration is here
29 */
30 
31 #if USE_EAI && !SM_CONF_STDBOOL_H
32 # define _STDBOOL_H_	1
33 #endif
34 
35 #define SM_CONF_SYS_CDEFS_H	1
36 #ifndef SM_CONF_SHM
37 # define SM_CONF_SHM	1
38 #endif
39 #ifndef SM_CONF_SEM
40 # define SM_CONF_SEM	1
41 #endif
42 #ifndef SM_CONF_MSG
43 # define SM_CONF_MSG	1
44 #endif
45