diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/tre/fix-config.patch | |
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
|