direwolf/external/misc
Davide Gerhard 8cd1f87ef6
cmake: windows build fixes
works with cygwin and x86_64-w64-mingw32-gcc/x86_64-w64-mingw32-g++
from the package installer of cygwin.
To use that add the following lines to .bash_profile

export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++

you also need cmake from cygwin
2019-11-09 08:31:35 +01:00
..
CMakeLists.txt cmake: windows build fixes 2019-11-09 08:31:35 +01:00
README cmake: new build tool 2019-11-09 08:26:33 +01:00
strcasestr.c cmake: new build tool 2019-11-09 08:26:33 +01:00
strlcat.c cmake: new build tool 2019-11-09 08:26:33 +01:00
strlcpy.c cmake: new build tool 2019-11-09 08:26:33 +01:00
strsep.c cmake: new build tool 2019-11-09 08:26:33 +01:00
strtok_r.c cmake: new build tool 2019-11-09 08:26:33 +01:00

README

Files in this directory fill in the gaps missing for some operating systems.


--------------------------------------

These are part of the standard C library for Linux, BSD Unix, and similar operating systems.
They are not present for MS Windows so we need to supply our own copy.

From http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/net/tnftp/files/libnetbsd/strsep.c
and other BSD locations.

	strsep.c
	strcasestr.c
	strtok_r.c

--------------------------------------


These are needed for the Linux and Windows versions.
They should be part of the standard C library for OpenBSD, FreeBSD, Mac OS X.

http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/net/tnftp/files/libnetbsd/strlcpy.c
http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/net/tnftp/files/libnetbsd/strlcat.c

	strlcpy.c
	strlcat.c