/* emx configuration */

#ifdef __CRTRSXNT__
#include <crtrsxnt.h>
#endif

#include <malloc.h>
#include <pc/config.h>

#ifdef __EMX__
#include <sys/emxload.h>
#define arginit(pargc, pargv) \
    _response (pargc, pargv); \
    _wildcard (pargc, pargv); \
    _emxload_env ("RCSLOAD");
#else
#define arginit(pargc, pargv)
#endif

#define initialize_main(pargc, pargv) \
  { \
    arginit(pargc, pargv); \
    setvbuf (stdout, NULL, _IOFBF, BUFSIZ); \
    if (*pargc == 1) { \
      program_name = (*pargv)[0]; \
      printf ("\n%s\n\n", version_string); \
      usage (); exit(0); \
    } \
  }

/* #define pid_t int */

/* diffutils doesn't need re_comp,
   but the shared library that diffutils builds
   is used by other (old-fashioned) programs that need re_comp.  */
#define _REGEX_RE_COMP

#define STAT_BLOCKSIZE(s) 65536
