diff options
Diffstat (limited to 'vcpkg/ports/tre/fix-config.patch')
| -rw-r--r-- | vcpkg/ports/tre/fix-config.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/tre/fix-config.patch b/vcpkg/ports/tre/fix-config.patch new file mode 100644 index 0000000..89303ae --- /dev/null +++ b/vcpkg/ports/tre/fix-config.patch @@ -0,0 +1,17 @@ +diff --git a/win32/config.h b/win32/config.h +index 93b8210..db7a9e1 100644 +--- a/win32/config.h ++++ b/win32/config.h +@@ -20,7 +20,6 @@ + /* #undef HAVE_ALLOCA_H */
+
+ /* Define to 1 if you have <malloc.h> and it should be used. */
+-#define HAVE_MALLOC_H 1
+
+ /* Define if the GNU dcgettext() function is already present or preinstalled.
+ */
+@@ -180,4 +179,3 @@ + /* Avoid silly warnings about "insecure" functions. */
+ #define _CRT_SECURE_NO_DEPRECATE 1
+
+-#define snprintf sprintf_s
|