mirror of
https://github.com/curl/curl.git
synced 2026-07-22 23:57:18 +03:00
tool_doswin.c: fix djgpp function _use_lfn() used without a prototype
http://curl.haxx.se/mail/archive-2012-06/0028.html
This commit is contained in:
parent
2ebb87f047
commit
08e0ad7b39
1 changed files with 2 additions and 0 deletions
|
|
@ -81,6 +81,8 @@ __pragma(warning(pop))
|
|||
# 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) ALWAYS_FALSE /* long file names never available */
|
||||
#elif defined(__DJGPP__)
|
||||
# include <fcntl.h> /* _use_lfn(f) prototype */
|
||||
#endif
|
||||
|
||||
static const char *msdosify (const char *file_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue