Uh, it's #warning and not #warn. *blush*
This commit is contained in:
parent
8674c060a6
commit
46dcfbdce1
@ -8,10 +8,10 @@ int io_passfd(int64 sock,int64 fd) {
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
#warn This is a HORRIBLE kludge around yet another thing OpenBSD broke
|
#warning This is a HORRIBLE kludge around yet another thing OpenBSD broke
|
||||||
#warn If they make it possible to do file descriptor passing with
|
#warning If they make it possible to do file descriptor passing with
|
||||||
#warn _XOPEN_SOURCE defined, please send me an email so I can remove this.
|
#warning _XOPEN_SOURCE defined, please send me an email so I can remove this.
|
||||||
#warn _XOPEN_SOURCE needs to be defined for this to work on Solaris.
|
#warning _XOPEN_SOURCE needs to be defined for this to work on Solaris.
|
||||||
#else
|
#else
|
||||||
#define _XOPEN_SOURCE
|
#define _XOPEN_SOURCE
|
||||||
#define _XOPEN_SOURCE_EXTENDED 1
|
#define _XOPEN_SOURCE_EXTENDED 1
|
||||||
|
@ -8,10 +8,10 @@ int64 io_receivefd(int64 sock) {
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
#warn This is a HORRIBLE kludge around yet another thing OpenBSD broke
|
#warning This is a HORRIBLE kludge around yet another thing OpenBSD broke
|
||||||
#warn If they make it possible to do file descriptor passing with
|
#warning If they make it possible to do file descriptor passing with
|
||||||
#warn _XOPEN_SOURCE defined, please send me an email so I can remove this.
|
#warning _XOPEN_SOURCE defined, please send me an email so I can remove this.
|
||||||
#warn _XOPEN_SOURCE needs to be defined for this to work on Solaris.
|
#warning _XOPEN_SOURCE needs to be defined for this to work on Solaris.
|
||||||
#else
|
#else
|
||||||
#define _XOPEN_SOURCE
|
#define _XOPEN_SOURCE
|
||||||
#define _XOPEN_SOURCE_EXTENDED 1
|
#define _XOPEN_SOURCE_EXTENDED 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user