(360) Added small ifdef to netplay.c - next stumbling block -

both 360 and PS3 don't support sockaddr_storage and getaddrinfo
This commit is contained in:
TwinAphex51224 2012-01-21 18:56:07 +01:00
parent e14f5e9ea5
commit 2be040a8a7
2 changed files with 4 additions and 3 deletions

View File

@ -259,7 +259,6 @@
<ClCompile Include="..\..\movie.c" />
<ClCompile Include="..\..\netplay.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\posix_string.c" />
<ClCompile Include="..\..\rewind.c" />
@ -304,4 +303,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

View File

@ -15,7 +15,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef _WIN32
#if defined(_WIN32) && !defined(_XBOX)
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
@ -23,6 +23,8 @@
#include <winsock2.h>
#include <windows.h>
#include <ws2tcpip.h>
#elif defined(_XBOX)
#include <Xtl.h>
#else
#include <sys/select.h>
#include <sys/types.h>