/* xm.h for emx */

/* Include <stdlib.h> now, to avoid a problem with getcwd() and
   chdir() redefined below -- note that defs.h includes <stdlib.h>
   after including this file. */

#include <stdlib.h>

#define ISATTY(FP)	(emx_isatty (fileno (FP)))

char *absfname (char *filename);
char *append_exe (char *filename);

#define DIRNAME_SEPARATOR ';'
#define SLASH_P(X) ((X) == '/' || (X)=='\\')
#define ROOTED_P(X) (SLASH_P ((X)[0]) || ((X)[0] != 0 && (X)[1] == ':'))

#define GDBINIT_FILENAME "!gdbinit"

#define FLOAT_INFO i386_float_info()

#define NAMES_HAVE_UNDERSCORE

#include "fopen-bin.h"
#include "i386/xm-i386v.h"
