Reduce number of #ifdef nestings.
Submitted by: bde
This commit is contained in:
parent
1baad1a183
commit
e255a226a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69042
@ -37,13 +37,9 @@
|
||||
#ifndef _SYS_SOCKET_H_
|
||||
#define _SYS_SOCKET_H_
|
||||
|
||||
#ifdef _NO_NAMESPACE_POLLUTION
|
||||
#include <machine/param.h>
|
||||
#else
|
||||
#define _NO_NAMESPACE_POLLUTION
|
||||
#include <machine/param.h>
|
||||
#undef _NO_NAMESPACE_POLLUTION
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Definitions related to sockets: types, address families, options.
|
||||
|
Loading…
Reference in New Issue
Block a user