mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 20:21:37 +08:00
17 lines
384 B
Diff
17 lines
384 B
Diff
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);
|
|
|