cdefs.h (90792) | cdefs.h (94334) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers. | 2 * Copyright (c) 2000-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 * | 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: cdefs.h,v 1.14 2001/06/07 20:04:53 ca Exp $ | 9 * $Id: cdefs.h,v 1.15 2002/01/16 18:30:11 ca Exp $ |
10 */ 11 12/* 13** libsm C language portability macros 14** See libsm/cdefs.html for documentation. 15*/ 16 17#ifndef SM_CDEFS_H --- 20 unchanged lines hidden (view full) --- 38# if defined(__cplusplus) 39# define __BEGIN_DECLS extern "C" { 40# define __END_DECLS }; 41# else /* defined(__cplusplus) */ 42# define __BEGIN_DECLS 43# define __END_DECLS 44# endif /* defined(__cplusplus) */ 45# if defined(__STDC__) || defined(__cplusplus) | 10 */ 11 12/* 13** libsm C language portability macros 14** See libsm/cdefs.html for documentation. 15*/ 16 17#ifndef SM_CDEFS_H --- 20 unchanged lines hidden (view full) --- 38# if defined(__cplusplus) 39# define __BEGIN_DECLS extern "C" { 40# define __END_DECLS }; 41# else /* defined(__cplusplus) */ 42# define __BEGIN_DECLS 43# define __END_DECLS 44# endif /* defined(__cplusplus) */ 45# if defined(__STDC__) || defined(__cplusplus) |
46# define __P(protos) protos | 46# ifndef __P 47# define __P(protos) protos 48# endif /* __P */ |
47# define __CONCAT(x,y) x ## y 48# define __STRING(x) #x 49# else /* defined(__STDC__) || defined(__cplusplus) */ 50# define __P(protos) () 51# define __CONCAT(x,y) x/**/y 52# define __STRING(x) "x" 53# define const 54# define signed --- 88 unchanged lines hidden --- | 49# define __CONCAT(x,y) x ## y 50# define __STRING(x) #x 51# else /* defined(__STDC__) || defined(__cplusplus) */ 52# define __P(protos) () 53# define __CONCAT(x,y) x/**/y 54# define __STRING(x) "x" 55# define const 56# define signed --- 88 unchanged lines hidden --- |