]> code.delx.au - gnu-emacs/blobdiff - src/lread.c
Fix the MSDOS build
[gnu-emacs] / src / lread.c
index 91469230b7e9910b52e75cf04f2ee5dcb4a4b9cb..d374406e7b9473381f38c4660b641d0b543b1421 100644 (file)
@@ -46,6 +46,10 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #ifdef MSDOS
 #include "msdos.h"
+#if __DJGPP__ == 2 && __DJGPP_MINOR__ < 5
+# define INFINITY  __builtin_inf()
+# define NAN       __builtin_nan("")
+#endif
 #endif
 
 #ifdef HAVE_NS