aboutsummaryrefslogtreecommitdiff
path: root/patches/handshake_table.c.patch
blob: b0a9f5bcc2559334178f04cd870c5bf118407661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- tests/handshake_table.c.orig	Sat Aug 22 18:51:52 2020
+++ tests/handshake_table.c	Fri Sep  4 04:04:26 2020
@@ -479,6 +479,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':
@@ -496,6 +497,7 @@
 
 	if (argc != 0)
 		usage();
+#endif
 
 	if (graphviz && print)
 		usage();