]> git.mxchange.org Git - flightgear.git/commitdiff
A blind attempt to fix the errno problem for the cygwin people.
authorcurt <curt>
Sun, 20 Feb 2000 04:08:12 +0000 (04:08 +0000)
committercurt <curt>
Sun, 20 Feb 2000 04:08:12 +0000 (04:08 +0000)
src/NetworkOLK/net_send.cxx

index 473fd9925ab05312b03268a3f9d115e9d52a5eca..688a9d519927cef2102db1c5ac266363c60ac2b0 100644 (file)
 
 //#define printf //
 
+/* Work around Cygwin link trouble, missing errno */
+#if defined( __MINGW32__ ) || defined( __CYGWIN__ )
+int errno;
+#endif
 
 /* Netstuff */
 #include <arpa/inet.h>