include/wine/port.h - porting fix

Steven Edwards steven_ed4153 at yahoo.com
Tue Feb 10 12:34:03 CST 2004


Windows doesnt define O_NONBLOCK and we need it to build winecfg.

Changelog:
Windows Porting Fix - Define O_NONBLOCK if not defined

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
-------------- next part --------------
Index: port.h
===================================================================
RCS file: /home/wine/wine/include/wine/port.h,v
retrieving revision 1.46
diff -u -r1.46 port.h
--- port.h	8 Jan 2004 05:07:06 -0000	1.46
+++ port.h	10 Feb 2004 18:28:33 -0000
@@ -120,6 +120,10 @@
 # define O_LARGEFILE 0
 #endif
 
+/* Windows platforms dont use Unix style non-blocking Sockets */
+#ifndef O_NONBLOCK
+# define O_NONBLOCK 0
+#endif
 
 /****************************************************************
  * Constants


More information about the wine-patches mailing list