Skip to content

Commit

Permalink
game_shared: replaced "windows.h" headers with "port.h"
Browse files Browse the repository at this point in the history
  • Loading branch information
SNMetamorph committed Feb 15, 2024
1 parent 37cfc80 commit 52ec78a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions game_shared/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

#ifdef _WIN32
#define NOMINMAX
#include <windows.h>
#endif
#include "port.h"
typedef unsigned char byte;
#include <ctype.h>
#include <stdio.h>
Expand Down
5 changes: 1 addition & 4 deletions game_shared/stringlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
// Copyright (C) XashXT Group 2011
// stringlib.cpp - safety string routines
//=======================================================================
#ifdef _WIN32
#define NOMINMAX
#include <windows.h>
#endif
#include "port.h"
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
Expand Down
1 change: 0 additions & 1 deletion game_shared/trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

//#include "windows.h"
#include <alert.h>
#include "vector.h"
#include "matrix.h"
Expand Down

0 comments on commit 52ec78a

Please sign in to comment.