aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patches/bn_isqrt.c.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/bn_isqrt.c.patch b/patches/bn_isqrt.c.patch
new file mode 100644
index 0000000..bf205a3
--- /dev/null
+++ b/patches/bn_isqrt.c.patch
@@ -0,0 +1,18 @@
1--- tests/bn_isqrt.c.orig Mon Aug 15 10:40:29 2022
2+++ tests/bn_isqrt.c Mon Aug 15 10:41:46 2022
3@@ -304,6 +304,7 @@ main(int argc, char *argv[])
4 int ch;
5 int failed = 0, print = 0;
6
7+#ifndef _MSC_VER
8 while ((ch = getopt(argc, argv, "C")) != -1) {
9 switch (ch) {
10 case 'C':
11@@ -314,6 +315,7 @@ main(int argc, char *argv[])
12 break;
13 }
14 }
15+#endif
16
17 if (print)
18 return check_tables(1);