From: Kurt Zeilenga Date: Sat, 17 Jan 2004 19:31:09 +0000 (+0000) Subject: Cygwin fix X-Git-Tag: OPENLDAP_REL_ENG_2_2_5~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c598b0ac143bfcf4b8847e17fa8cc5883fca93e5;p=openldap Cygwin fix --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index bc63175039..81160b10e9 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -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 )