diff --git a/include/beconf.h b/include/beconf.h new file mode 100644 index 000000000..feb652fc8 --- /dev/null +++ b/include/beconf.h @@ -0,0 +1,36 @@ +/* SCCS Id: @(#)beconf.h 3.3 98/07/08 */ +/* Copyright (c) Dean Luick 1996. */ +/* NetHack may be freely redistributed. See license for details. */ + +/* Configuration for Be Inc.'s BeOS */ + +#ifndef BECONF_H +#define BECONF_H + +/* + * We must use UNWIDENED_PROTOTYPES because we mix C++ and C. + */ + +#define index strchr +#define rindex strrchr +#define Rand rand /* Be should have a better rand function! */ +#define tgetch getchar +#define FCMASK 0666 +#define PORT_ID "BeOS" +#define TEXTCOLOR +#define POSIX_TYPES +#define SIG_RET_TYPE __signal_func_ptr + +#include /* for time_t */ +#include /* for lseek() */ + +/* could go in extern.h, under bemain.c (or something..) */ +void regularize(char *); + + +/* instead of including system.h... */ +#include +#include +#include + +#endif /* BECONF_H */