Skip to content

Commit 806d119

Browse files
committed
Fix xrGamespy compilation
1 parent dca97fe commit 806d119

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/xrGameSpy/stdafx.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#pragma once
22

3-
#define WIN32_LEAN_AND_MEAN
4-
#include <windows.h>
3+
#include "Common/Platform.hpp"
54

65
#include <GameSpy/Common/gsCommon.h>
76
#include <GameSpy/Common/gsAvailable.h>

src/xrGameSpy/xrGameSpy.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include <GameSpy/gp/gp.h>
1919
#include <GameSpy/sake/sake.h>
2020
#include <GameSpy/sc/sc.h>
21+
#undef min
2122
#undef max
2223

2324
#include "xrGameSpy/xrGameSpy_MainDefs.h"

0 commit comments

Comments
 (0)