Commit 08e0ad7b authored by Gisle Vanem's avatar Gisle Vanem Committed by Yang Tse
Browse files

tool_doswin.c: fix djgpp function _use_lfn() used without a prototype

parent 2ebb87f0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);