Replacing includes of windows headers with base/platform.h.
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user