# Sed script to add DJGPP specific issues to config.h.


$ a\
\
\
/* DGJPP-specific definitions */\
\
#ifdef __DJGPP__\
# include <sys/version.h>  /*  gcc no longer includes this by default.  */\
\
# if __DJGPP__ == 2 && __DJGPP_MINOR__ < 4\
/*  What ever is defined prefer DJGPP's definitions.  */\
#  undef  EILSEQ\
#  define EILSEQ     41  /*  To match the value used in djdev204  */\
#  undef  ELOOP\
#  define ELOOP      39  /*  To match the value used in djdev204  */\
\
/* DJGPP 2.03 does not provide the `pipe' function but DJGPP 2.04 does. */\
#  if defined(HAVE_PIPE) && HAVE_PIPE == 1\
#   undef  HAVE_PIPE\
#   define HAVE_PIPE  0\
#  endif\
# endif /*  __DJGPP__ == 2 && __DJGPP_MINOR__ < 4  */\
#endif
