Replacing includes of windows headers with base/platform.h.

This commit is contained in:
Ben Vanik
2015-07-01 09:02:04 -07:00
parent 88d01e8375
commit dec0d12cc9
23 changed files with 66 additions and 54 deletions

View File

@@ -7,9 +7,6 @@
******************************************************************************
*/
#define _WINSOCK_DEPRECATED_NO_WARNINGS // inet_addr
#include <winsock2.h>
#include <cstring>
#include "xenia/base/clock.h"
@@ -20,6 +17,10 @@
#include "xenia/kernel/xam_private.h"
#include "xenia/xbox.h"
// NOTE: must be included last as it expects windows.h to already be included.
#define _WINSOCK_DEPRECATED_NO_WARNINGS // inet_addr
#include <winsock2.h>
namespace xe {
namespace kernel {