fix bogus "#ifdef" to proper "#if"
Obtained from: gcc -Wall
This commit is contained in:
parent
975356d5ce
commit
eeaa49ed41
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=2786
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- $Id: porting.sgml,v 1.96 1998-05-07 05:42:39 mph Exp $ -->
|
||||
<!-- $Id: porting.sgml,v 1.97 1998-05-08 16:57:52 obrien Exp $ -->
|
||||
<!-- The FreeBSD Documentation Project -->
|
||||
|
||||
<sect1><heading>Porting an existing piece of free software<label id="porting"></heading>
|
||||
|
@ -50,7 +50,7 @@ well commented, and you will still gain much knowledge from it.
|
|||
is already included; if not, add the code:
|
||||
|
||||
<tscreen><verb>
|
||||
#ifdef (defined(__unix__) || defined(unix)) && !defined(USG)
|
||||
#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
</verb></tscreen>
|
||||
|
|
Loading…
Reference in a new issue