Skip to content

Commit

Permalink
Fix deprecation error on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
creikey committed Nov 3, 2022
1 parent b06d154 commit c2eb24d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*/
#ifdef _WIN32

#define _WINSOCK_DEPRECATED_NO_WARNINGS

#define ENET_BUILDING_LIB 1
#include "enet/enet.h"
#include <windows.h>
Expand Down

0 comments on commit c2eb24d

Please sign in to comment.