From 0d4dde7dcd316301b4f6c05bd59d6ed81cf97d5c Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Tue, 20 Jul 2004 04:07:06 +0000 Subject: [PATCH] Fixed part of the XBOX problem. XTL needs to be included somewhre, but I don't know the details. Renaud, if you could just include that in whever it is necessiary. --- stepmania/src/ezsockets.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/stepmania/src/ezsockets.cpp b/stepmania/src/ezsockets.cpp index b0a24b507e..6c07f6fd0e 100644 --- a/stepmania/src/ezsockets.cpp +++ b/stepmania/src/ezsockets.cpp @@ -60,7 +60,15 @@ bool EzSockets::create(int Protocol) { case IPPROTO_UDP: return create(IPPROTO_UDP, SOCK_DGRAM); default: + //XBOX does not support the raw socket. + //So, since there's no need, we aren't + //going to allow it on XBOX +#if defined(_XBOX) + return false; +#else return create(Protocol, SOCK_RAW); +#endif + } }