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
|
* Copyright (c) 1988, 1989, 1990, 1993
|
||||||
|
@ -55,12 +55,14 @@
|
||||||
#if !defined(MAKE_BOOTSTRAP) && defined(BSD)
|
#if !defined(MAKE_BOOTSTRAP) && defined(BSD)
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#else
|
#else
|
||||||
|
#ifndef __P
|
||||||
#if defined(__STDC__) || defined(__cplusplus)
|
#if defined(__STDC__) || defined(__cplusplus)
|
||||||
#define __P(protos) protos /* full-blown ANSI C */
|
#define __P(protos) protos /* full-blown ANSI C */
|
||||||
#else
|
#else
|
||||||
#define __P(protos) () /* traditional C preprocessor */
|
#define __P(protos) () /* traditional C preprocessor */
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#if __STDC__
|
#if __STDC__
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
Loading…
Reference in New Issue