From 54409423f767d8b1cf30cb7d0efca6b4ca138823 Mon Sep 17 00:00:00 2001 From: Ethan Morgan Date: Sat, 14 Feb 2026 16:44:06 +0000 Subject: move to own git server --- vcpkg/ports/tinyexpr/fix-issue-34.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vcpkg/ports/tinyexpr/fix-issue-34.patch (limited to 'vcpkg/ports/tinyexpr/fix-issue-34.patch') diff --git a/vcpkg/ports/tinyexpr/fix-issue-34.patch b/vcpkg/ports/tinyexpr/fix-issue-34.patch new file mode 100644 index 0000000..000fea0 --- /dev/null +++ b/vcpkg/ports/tinyexpr/fix-issue-34.patch @@ -0,0 +1,16 @@ +diff --git a/tinyexpr.c b/tinyexpr.c +index 90ed8fc..570f2fd 100755 +--- a/tinyexpr.c ++++ b/tinyexpr.c +@@ -49,6 +49,11 @@ For log = natural log uncomment the next line. */ + #define INFINITY (1.0/0.0) + #endif + ++/* https://github.com/codeplea/tinyexpr/issues/34 */ ++#ifdef _MSC_VER ++#pragma function(ceil) ++#pragma function(floor) ++#endif + + typedef double (*te_fun2)(double, double); + -- cgit v1.2.3