fix some Msys complains

This commit is contained in:
Nguyen Anh Quynh 2016-11-04 21:40:35 +08:00
parent d46911d301
commit 200f0d195e
2 changed files with 1 additions and 3 deletions

View File

@ -128,6 +128,7 @@ EXT = dll
AR_EXT = lib
BIN_EXT = .exe
UNICORN_QEMU_FLAGS += --disable-stack-protector
UNICORN_CFLAGS := $(UNICORN_CFLAGS:-fPIC=)
# Linux, Darwin
else

3
uc.c
View File

@ -1,9 +1,6 @@
/* Unicorn Emulator Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2015 */
#if defined (WIN32) || defined (WIN64) || defined (_WIN32) || defined (_WIN64)
#pragma warning(disable:4996)
#endif
#if defined(UNICORN_HAS_OSXKERNEL)
#include <libkern/libkern.h>
#else