cmake - show command line for a test

Peter Kümmel syntheticpp at gmx.net
Mon Feb 13 23:11:58 CET 2006


And here a diff to make the check successful:



Index: win/include/msvc/sys/types.h
===================================================================
--- win/include/msvc/sys/types.h	(Revision 509146)
+++ win/include/msvc/sys/types.h	(Arbeitskopie)
@@ -43,10 +43,6 @@
 #endif


-#ifndef socklen_t
-#define socklen_t int
-#endif
-
 #ifndef _PID_T_
 #define	_PID_T_
 typedef int	_pid_t;
Index: win/include/msvc/sys/socket.h
===================================================================
--- win/include/msvc/sys/socket.h	(Revision 509146)
+++ win/include/msvc/sys/socket.h	(Arbeitskopie)
@@ -25,6 +25,7 @@

 //#define IPV6STRICT      // this maybe breaks a lot of things... but we also maybe need it !?
 #include <winsock2.h>
+#include <Ws2tcpip.h>
 #include "fixwinh.h"

 #ifdef __cplusplus
@@ -41,9 +42,6 @@
 	int		msg_accrightslen;	/* Length of rights list */
 };

-#ifndef socklen_t
-#define socklen_t int
-#endif




 /* Socket types. */
 #define SOCK_STREAM	1		/* stream (connection) socket	*/
Index: win/include/msvc/socket.h
===================================================================
--- win/include/msvc/socket.h	(Revision 509146)
+++ win/include/msvc/socket.h	(Arbeitskopie)
@@ -23,6 +23,10 @@
 // include everywhere
 #include <sys/types.h>

+#include <winsock2.h>
+#include <Ws2tcpip.h>
+
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -47,9 +51,6 @@
 	int		msg_accrightslen;	/* Length of rights list */
 };

-#ifndef socklen_t
-#define socklen_t int
-#endif

 /* Socket types. */
 #define SOCK_STREAM	1		/* stream (connection) socket	*/


More information about the Kde-buildsystem mailing list