mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 14:29:05 -07:00
include mmsystem.h for timeGetTime
This commit is contained in:
parent
736474ca83
commit
99004c45ac
1 changed files with 2 additions and 1 deletions
3
win32.c
3
win32.c
|
@ -4,9 +4,10 @@
|
||||||
*/
|
*/
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#include <time.h>
|
|
||||||
#define ENET_BUILDING_LIB 1
|
#define ENET_BUILDING_LIB 1
|
||||||
#include "enet/enet.h"
|
#include "enet/enet.h"
|
||||||
|
#include <windows.h>
|
||||||
|
#include <mmsystem.h>
|
||||||
|
|
||||||
static enet_uint32 timeBase = 0;
|
static enet_uint32 timeBase = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue