Skip to content

Commit

Permalink
Fix win build
Browse files Browse the repository at this point in the history
  • Loading branch information
Elinsrc authored Mar 2, 2024
1 parent b1437bb commit 081a245
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cl_dll/hud_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
#include "event_api.h"

#ifdef _WIN32
#include <Windows.h>
#define HSPRITE DeletedWinapi_HSPRITE// prevent windows.h from defining it
#include <windows.h>
#undef HSPRITE
typedef int HSPRITE;
#else
#include <time.h>
#endif
Expand Down

0 comments on commit 081a245

Please sign in to comment.