beconf.h

Go to the documentation of this file.
00001 /*      SCCS Id: @(#)beconf.h   3.4     1998/07/08      */
00002 /* Copyright (c) Dean Luick 1996.       */
00003 /* NetHack may be freely redistributed.  See license for details. */
00004 
00005 /* Configuration for Be Inc.'s BeOS */
00006 
00007 #ifndef BECONF_H
00008 #define BECONF_H
00009 
00010 /*
00011  * We must use UNWIDENED_PROTOTYPES because we mix C++ and C.
00012  */
00013 
00014 #define index strchr
00015 #define rindex strrchr
00016 #define Rand rand       /* Be should have a better rand function! */
00017 #define tgetch getchar
00018 #define FCMASK 0666
00019 #define PORT_ID "BeOS"
00020 #define TEXTCOLOR
00021 #define POSIX_TYPES
00022 #define SIG_RET_TYPE __signal_func_ptr
00023 
00024 #include <time.h>       /* for time_t */
00025 #include <unistd.h>     /* for lseek() */
00026 
00027 /* could go in extern.h, under bemain.c (or something..) */
00028 void regularize(char *);
00029 
00030 
00031 /* instead of including system.h... */
00032 #include <string.h>
00033 #include <stdlib.h>
00034 #include <termcap.h>
00035 
00036 #endif /* BECONF_H */