Protect __P from being multiply defined (for systems that already define it)
This commit is contained in:
parent
c376af9abb
commit
1bc899a1ff
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: make.h,v 1.9 1996/03/06 00:15:21 christos Exp $ */
|
||||
/* $NetBSD: make.h,v 1.10 1996/08/13 16:39:30 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
|
@ -55,12 +55,14 @@
|
|||
#if !defined(MAKE_BOOTSTRAP) && defined(BSD)
|
||||
#include <sys/cdefs.h>
|
||||
#else
|
||||
#ifndef __P
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
#define __P(protos) protos /* full-blown ANSI C */
|
||||
#else
|
||||
#define __P(protos) () /* traditional C preprocessor */
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#if __STDC__
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in New Issue