vcpkg/ports/sdl2/disable-wcslcpy-and-wcslcat-for-windows.patch
2020-03-22 13:37:31 +01:00

13 lines
541 B
Diff

diff -ur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -772,7 +772,7 @@
set(HAVE_SIGNAL_H 1)
foreach(_FN
malloc calloc realloc free qsort abs memset memcpy memmove memcmp
- wcslen wcslcpy wcslcat wcsdup wcsstr wcscmp wcsncmp
+ wcslen wcsdup wcsstr wcscmp wcsncmp
strlen _strrev _strupr _strlwr strchr strrchr strstr itoa _ltoa
_ultoa strtol strtoul strtoll strtod atoi atof strcmp strncmp
_stricmp _strnicmp strtok_s sscanf