]> git.sur5r.net Git - openldap/commitdiff
Cygwin fix
authorKurt Zeilenga <kurt@openldap.org>
Sat, 17 Jan 2004 19:31:09 +0000 (19:31 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 17 Jan 2004 19:31:09 +0000 (19:31 +0000)
clients/tools/ldapsearch.c

index bc631750395d145b8995b8b95021da11af9b80a5..81160b10e99e6be67b2a2c96f5cf54ac5acf75b0 100644 (file)
@@ -79,6 +79,12 @@ static int sizelimit = -1;
 static char *def_tmpdir;
 static char *def_urlpre;
 
+#if defined(__CYGWIN__) || defined(__MINGW32__)
+/* Turn off commandline globbing, otherwise you cannot search for
+ * attribute '*'
+ */
+int _CRT_glob = 0;
+#endif
 
 void
 usage( void )