Hi,

the below patch defines the missing PIPE_ACCEPT_REMOTE_CLIENTS and
PIPE_REJECT_REMOTE_CLIENTS defines available since Vista.

Ok to apply?

Thx,
Corinna


        * winbase.h (PIPE_ACCEPT_REMOTE_CLIENTS): Define when building for
        Vista or later.
        (PIPE_REJECT_REMOTE_CLIENTS): Ditto.


Index: winbase.h
===================================================================
--- winbase.h   (revision 5656)
+++ winbase.h   (working copy)
@@ -140,6 +140,10 @@
 #define PIPE_READMODE_MESSAGE 0x2
 #define PIPE_TYPE_BYTE 0x0
 #define PIPE_TYPE_MESSAGE 0x4
+#if (_WIN32_WINNT >= 0x0600)
+#define PIPE_ACCEPT_REMOTE_CLIENTS 0x0
+#define PIPE_REJECT_REMOTE_CLIENTS 0x8
+#endif
 
 #define PIPE_UNLIMITED_INSTANCES 255
 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to