]> code.delx.au - gnu-emacs/blobdiff - src/s/msdos.h
Merge from emacs-23; up to 2010-06-10T05:17:21Z!rgm@gnu.org.
[gnu-emacs] / src / s / msdos.h
index 8debd28dccb890ca2c4c2d60b69deca9823b4092..29ca0629899b3fd0d56792719adda4d4614e8b10 100644 (file)
@@ -80,6 +80,12 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
    strtold, so use _strtold in all versions.  */
 #define strtold _strtold
 
+#if __DJGPP__ > 2 || __DJGPP_MINOR__ > 3
+# define HAVE_LSTAT 1
+#else
+# define lstat stat
+#endif
+
 /* End of gnulib-related stuff.  */
 
 /* When $TERM is "internal" then this is substituted:  */