Attempt to fix building using MINGW. Affects #55
This commit is contained in:
parent
a9fbbd3894
commit
c7ca786e77
@ -1,6 +1,8 @@
|
|||||||
#include "gb.h"
|
#include "gb.h"
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#ifndef _WIN32_WINNT
|
||||||
#define _WIN32_WINNT 0x0500
|
#define _WIN32_WINNT 0x0500
|
||||||
|
#endif
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#else
|
#else
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
3
Makefile
3
Makefile
@ -4,6 +4,9 @@
|
|||||||
# Set target, configuration, version and destination folders
|
# Set target, configuration, version and destination folders
|
||||||
|
|
||||||
PLATFORM := $(shell uname -s)
|
PLATFORM := $(shell uname -s)
|
||||||
|
ifneq ($(findstring MINGW,$(PLATFORM)),)
|
||||||
|
PLATFORM := windows32
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),Darwin)
|
ifeq ($(PLATFORM),Darwin)
|
||||||
DEFAULT := cocoa
|
DEFAULT := cocoa
|
||||||
|
Loading…
Reference in New Issue
Block a user