mpi-genesis 1 #ifndef _COMPAT_H_
mpi-genesis 2 #define _COMPAT_H_
mpi-genesis 3
mpi-genesis 4
mpi-genesis 5 \v, but works for the purposes used here. */
mpi-genesis 6 #define ascii_isspace(a) ((a)==' ' || (a)=='\n' || (a)=='\r' || (a)=='\t')
mpi-genesis 7
mpi-genesis 8 int hextobyte( const char *s );
mpi-genesis 9 int ascii_toupper (int c);
mpi-genesis 10 int ascii_tolower (int c);
mpi-genesis 11 int ascii_strcasecmp( const char *a, const char *b );
mpi-genesis 12 int ascii_strncasecmp( const char *a, const char *b, size_t n);
mpi-genesis 13
mpi-genesis 14 #ifndef HAVE_STRSEP
mpi-genesis 15 char *strsep (char **stringp, const char *delim);
mpi-genesis 16 #endif
mpi-genesis 17
mpi-genesis 18 #if __GNUC__ >= 4
mpi-genesis 19 char *xstrconcat (const char *s1, ...) __attribute__ ((sentinel(0)));
mpi-genesis 20 #else
mpi-genesis 21 char *xstrconcat (const char *s1, ...);
mpi-genesis 22 #endif
mpi-genesis 23
mpi-genesis 24
mpi-genesis 25 #endif /* !_COMPAT_H_ */