Skip to content

Commit

Permalink
Fix bad define from metamod_oslink.h
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0k-z committed Aug 5, 2024
1 parent 6d2ccc0 commit 631ec40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/plat.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
#include <string>
#include <cstdint>
#include "metamod_oslink.h"

// Needs to be here because later MSVC versions don't need this anymore
#if !defined __linux__ && !defined __APPLE__ && defined _MSC_VER && _MSC_VER > 1500
#undef snprintf
#endif
struct Section
{
std::string m_szName;
Expand Down

0 comments on commit 631ec40

Please sign in to comment.