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


/#endif[ 	]*\/\*[ 	]*JPEG_CJPEG_DJPEG[ 	]*\*\// i\
#define USE_SETMODE      /* Needed to make one-file style work in DJGPP */

$ a\
\
\
/* DGJPP-specific definitions */\
\
#ifdef __DJGPP__\
/* undefine FALSE and TRUE to prevent from conflicting\
   with enum boolean members in jmorecfg.h.  */\
# undef FALSE\
# undef TRUE\
\
# if __DJGPP__ == 2 && __DJGPP_MINOR__ < 4\
\
/* 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
