mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Define ipfilter's SOLARIS macro in a defined and portable way.
Reviewed by: cy MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D7671
This commit is contained in:
parent
03878a296d
commit
9abfdf4ac8
1 changed files with 5 additions and 1 deletions
|
|
@ -32,7 +32,11 @@
|
|||
# define __KERNEL__
|
||||
#endif
|
||||
|
||||
#define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
|
||||
#if defined(sun) && (defined(__svr4__) || defined(__SVR4))
|
||||
# define SOLARIS 1
|
||||
#else
|
||||
# define SOLARIS 0
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(__SVR4) || defined(__svr4__) || defined(__sgi)
|
||||
|
|
|
|||
Loading…
Reference in a new issue