[rtmpdump] r542 - trunk/librtmp/rtmp_sys.h

hyc subversion at mplayerhq.hu
Mon Jul 5 22:16:56 CEST 2010


Author: hyc
Date: Mon Jul  5 22:16:55 2010
New Revision: 542

Log:
Remove obsolete XBOX defs

Modified:
   trunk/librtmp/rtmp_sys.h

Modified: trunk/librtmp/rtmp_sys.h
==============================================================================
--- trunk/librtmp/rtmp_sys.h	Mon Jul  5 22:07:39 2010	(r541)
+++ trunk/librtmp/rtmp_sys.h	Mon Jul  5 22:16:55 2010	(r542)
@@ -24,17 +24,14 @@
 
 #ifdef _WIN32
 
-#ifdef _XBOX
-#include <xtl.h>
-#include <winsockx.h>
+#include <winsock2.h>
+#include <ws2tcpip.h>
+
+#ifdef _MSC_VER	/* MSVC */
 #define snprintf _snprintf
 #define strcasecmp stricmp
 #define strncasecmp strnicmp
 #define vsnprintf _vsnprintf
-
-#else /* !_XBOX */
-#include <winsock2.h>
-#include <ws2tcpip.h>
 #endif
 
 #define GetSockError()	WSAGetLastError()


More information about the rtmpdump mailing list