File: beconf.h

package info (click to toggle)
nethack 3.4.3-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,512 kB
  • ctags: 16,957
  • sloc: ansic: 196,792; cpp: 7,083; sh: 6,785; yacc: 2,005; lex: 377; makefile: 120; awk: 89; sed: 11
file content (36 lines) | stat: -rw-r--r-- 830 bytes parent folder | download | duplicates (23)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*	SCCS Id: @(#)beconf.h	3.4	1998/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 <time.h>	/* for time_t */
#include <unistd.h>	/* for lseek() */

/* could go in extern.h, under bemain.c (or something..) */
void regularize(char *);


/* instead of including system.h... */
#include <string.h>
#include <stdlib.h>
#include <termcap.h>

#endif /* BECONF_H */