From: Yang Tse Date: Mon, 19 Sep 2011 18:27:25 +0000 (+0200) Subject: curl tool: truly fix compiler warning X-Git-Tag: curl-7_23_0~182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49c35a7f9f90cd02e0e79965cfa6e1df0797bec0;p=curl curl tool: truly fix compiler warning --- diff --git a/src/tool_doswin.c b/src/tool_doswin.c index f3ac21141..dc9062798 100644 --- a/src/tool_doswin.c +++ b/src/tool_doswin.c @@ -73,9 +73,9 @@ __pragma(warning(pop)) #endif #ifdef WIN32 -# define _use_lfn(f) (0, 1) /* long file names always available */ +# define _use_lfn(f) ALWAYS_TRUE /* long file names always available */ #elif !defined(__DJGPP__) || (__DJGPP__ < 2) /* DJGPP 2.0 has _use_lfn() */ -# define _use_lfn(f) (1, 0) /* long file names never available */ +# define _use_lfn(f) ALWAYS_FALSE /* long file names never available */ #endif static const char *msdosify (const char *file_name);