[Live-devel] Live on Windows CE ( eVC 4 )
Gabriel Bouvigne
gabriel.bouvigne at resonate-mp4.com
Thu Sep 2 17:53:55 PDT 2004
Small changes so liveMedia also compiles on eVC3/PPC2002:
*groupsockhelper.cpp:
#include "GroupsockHelper.hh"
#if defined(__WIN32__) || defined(_WIN32)
#if !defined UNDER_CE
#include <time.h>
#endif
extern "C" int initializeWinsockIfNecessary();
#else
#include <stdarg.h>
#include <time.h>
#include <fcntl.h>
#define initializeWinsockIfNecessary() 1
#endif
*netcommon.h
#elif defined(__WIN32__) || defined(_WIN32) || defined(_WIN32_WCE)
/* Windows */
#if defined(_WINNT) || defined(__BORLANDC__) || defined(__MINGW32__) ||
defined(_WIN32_WCE)
#define _MSWSOCK_
#if defined UNDER_CE
#if UNDER_CE<420
#include <winsock.h> /*PPC2002*/
#else
#include <winsock2.h> /*PPC2003*/
#include <ws2tcpip.h>
#endif
#else
#include <winsock.h>
#include <ws2tcpip.h>
#endif
#endif
#include <windows.h>
#include <string.h>
#define _close closesocket
#define EWOULDBLOCK WSAEWOULDBLOCK
Regards,
--
Gabriel Bouvigne
Resonate mp4
Tel: (+33) 142 411 665
More information about the live-devel
mailing list