aboutsummaryrefslogtreecommitdiff
path: root/patches/handshake_table.c.patch
blob: f3a40044ea1d01dea25444b8d96a6e8ec729af93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- tests/handshake_table.c.orig	Tue Mar 15 11:37:03 2022
+++ tests/handshake_table.c	Mon Mar 21 05:26:15 2022
@@ -518,6 +518,7 @@
 	unsigned int	depth = 0;
 	int		ch, graphviz = 0, print = 0;
 
+#ifndef _MSC_VER
 	while ((ch = getopt(argc, argv, "Cg")) != -1) {
 		switch (ch) {
 		case 'C':
@@ -535,6 +536,7 @@
 
 	if (argc != 0)
 		usage();
+#endif
 
 	if (graphviz && print)
 		usage();