summarylogtreecommitdiffstats
path: root/21-fix-getopt-guard.patch
blob: ff7fc3d5bb3138d0f04f113e6b1e0e54f99e707d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- cyrus-sasl-2.1.27/lib/saslutil.c.orig	2020-01-21 13:02:37.317323500 +0300
+++ cyrus-sasl-2.1.27/lib/saslutil.c	2020-01-21 13:03:14.353045400 +0300
@@ -775,6 +775,7 @@
         return (int)*pArgString;    /* return the letter that matched */ 
     } 
 } 
+#endif /* WIN32 && !__MINGW64_VERSION_MAJOR */
 
 #ifndef PASSWORD_MAX
 #  define PASSWORD_MAX 255
@@ -798,7 +799,3 @@
 	fprintf(stderr, "\n"); (void) fflush(stderr);
 	return(pbuf);
 }
-
-
-
-#endif /* WIN32 */