if __P is already defined, undef it.
This commit is contained in:
parent
6ce85383cd
commit
6c5f49d135
|
@ -31,7 +31,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)cdefs.h 7.6 (Berkeley) 5/4/91
|
||||
* $Id: cdefs.h,v 1.4 1993/05/26 14:52:56 cgd Exp $
|
||||
* $Id: cdefs.h,v 1.5 1993/09/23 23:44:09 cgd Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_CDEFS_H_
|
||||
|
@ -52,6 +52,11 @@
|
|||
* in between its arguments. __CONCAT can also concatenate double-quoted
|
||||
* strings produced by the __STRING macro, but this only works with ANSI C.
|
||||
*/
|
||||
|
||||
#ifdef __P /* get rid of previous definition of __P */
|
||||
#undef __P
|
||||
#endif
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
#define __P(protos) protos /* full-blown ANSI C */
|
||||
#define __CONCAT(x,y) x ## y
|
||||
|
|
Loading…
Reference in New Issue