From: curt Date: Sun, 20 Feb 2000 04:08:12 +0000 (+0000) Subject: A blind attempt to fix the errno problem for the cygwin people. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=becffdbce91e87e0a1e63ca754d7fdad05607097;p=flightgear.git A blind attempt to fix the errno problem for the cygwin people. --- diff --git a/src/NetworkOLK/net_send.cxx b/src/NetworkOLK/net_send.cxx index 473fd9925..688a9d519 100644 --- a/src/NetworkOLK/net_send.cxx +++ b/src/NetworkOLK/net_send.cxx @@ -43,6 +43,10 @@ //#define printf // +/* Work around Cygwin link trouble, missing errno */ +#if defined( __MINGW32__ ) || defined( __CYGWIN__ ) +int errno; +#endif /* Netstuff */ #include