Repair windows build

This commit is contained in:
Émilie Feral
2017-09-04 18:02:29 +02:00
committed by Ecco
parent df31f0ce34
commit 9ac25fc03a
3 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
CC = mingw-w64-x86_64-gcc
CXX = mingw-w64-x86_64-g++
LD = mingw-w64-x86_64-g++
CC = gcc
CXX = g++
LD = g++
SFLAGS = -D_USE_MATH_DEFINES
LDFLAGS = -static -mwindows
EXE = exe

View File

@@ -7,7 +7,7 @@
LIBA_BEGIN_DECLS
#if __GLIBC__
#if (__GLIBC__ || __MINGW32__)
size_t strlcpy(char * dst, const char * src, size_t len);
#endif

View File

@@ -1,5 +1,5 @@
#include <string.h>
#if __GLIBC__
#if (__GLIBC__ || __MINGW32__)
#include "strlcpy.c"
#endif