1/* 2 * Copyright (c) 2000-2003 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 *
| 1/* 2 * Copyright (c) 2000-2003 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: config.h,v 1.47 2004/10/26 21:41:07 gshapiro Exp $
| 9 * $Id: config.h,v 1.48 2013/03/22 22:48:57 gshapiro Exp $
|
10 */ 11 12/* 13** libsm configuration macros. 14** The values of these macros are platform dependent. 15** The default values are given here. 16** If the default is incorrect, then the correct value can be specified 17** in the m4 configuration file in devtools/OS. 18*/ 19 20#ifndef SM_CONFIG_H 21# define SM_CONFIG_H 22 23# include "sm_os.h" 24 25/* 26** SM_CONF_STDBOOL_H is 1 if <stdbool.h> exists
| 10 */ 11 12/* 13** libsm configuration macros. 14** The values of these macros are platform dependent. 15** The default values are given here. 16** If the default is incorrect, then the correct value can be specified 17** in the m4 configuration file in devtools/OS. 18*/ 19 20#ifndef SM_CONFIG_H 21# define SM_CONFIG_H 22 23# include "sm_os.h" 24 25/* 26** SM_CONF_STDBOOL_H is 1 if <stdbool.h> exists
|
| 27** 28** Note, unlike gcc, clang doesn't apply full prototypes to K&R definitions.
|
27*/ 28 29# ifndef SM_CONF_STDBOOL_H
| 29*/ 30 31# ifndef SM_CONF_STDBOOL_H
|
30# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
| 32# if !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
31# define SM_CONF_STDBOOL_H 1
| 33# define SM_CONF_STDBOOL_H 1
|
32# else /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
| 34# else /* !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
|
33# define SM_CONF_STDBOOL_H 0
| 35# define SM_CONF_STDBOOL_H 0
|
34# endif /* defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
| 36# endif /* !defined(__clang__) && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L */
|
35# endif /* ! SM_CONF_STDBOOL_H */ 36 37/* 38** Configuration macros that specify how __P is defined. 39*/ 40 41# ifndef SM_CONF_SYS_CDEFS_H 42# define SM_CONF_SYS_CDEFS_H 0
--- 145 unchanged lines hidden --- | 37# endif /* ! SM_CONF_STDBOOL_H */ 38 39/* 40** Configuration macros that specify how __P is defined. 41*/ 42 43# ifndef SM_CONF_SYS_CDEFS_H 44# define SM_CONF_SYS_CDEFS_H 0
--- 145 unchanged lines hidden --- |