Remove workarounds for ancient compilers
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#ifdef _DCC
|
||||
#include <stdlib.h>
|
||||
#define _SIZE_T
|
||||
#define DCC30_BUG /* A bitfield bug (from dog.c, others) in DICE 3.0. */
|
||||
#endif
|
||||
|
||||
#ifndef __GNUC__
|
||||
|
||||
@@ -600,15 +600,8 @@ struct levelflags {
|
||||
|
||||
typedef struct {
|
||||
struct rm locations[COLNO][ROWNO];
|
||||
#ifndef MICROPORT_BUG
|
||||
struct obj *objects[COLNO][ROWNO];
|
||||
struct monst *monsters[COLNO][ROWNO];
|
||||
#else
|
||||
struct obj *objects[1][ROWNO];
|
||||
char *yuk1[COLNO - 1][ROWNO];
|
||||
struct monst *monsters[1][ROWNO];
|
||||
char *yuk2[COLNO - 1][ROWNO];
|
||||
#endif
|
||||
struct obj *objlist;
|
||||
struct obj *buriedobjlist;
|
||||
struct monst *monlist;
|
||||
|
||||
@@ -79,9 +79,5 @@ extern int FDECL(strncmpi, (const char *, const char *, size_t));
|
||||
extern boolean colors_changed; /* in tos.c */
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define GCC_BUG /* correct a gcc bug involving double for loops */
|
||||
#endif
|
||||
|
||||
#endif /* TOSCONF_H */
|
||||
#endif /* TOS */
|
||||
|
||||
@@ -70,18 +70,6 @@
|
||||
* Linux, Solaris 2.x
|
||||
*/
|
||||
|
||||
/* #define OPENWINBUG */ /* avoid a problem using OpenWindows 3.0 for
|
||||
X11 on SunOS 4.1.x, x>= 2. Do not define
|
||||
for other X11 implementations. */
|
||||
/* #define PYRAMID_BUG */ /* avoid a bug on the Pyramid */
|
||||
/* #define BSD_43_BUG */ /* for real 4.3BSD cc's without schain botch fix */
|
||||
/* #define MICROPORT_BUG */ /* problems with large arrays in structs */
|
||||
/* #define MICROPORT_286_BUG */ /* changes needed in termcap.c to get it to
|
||||
run with Microport Sys V/AT version 2.4.
|
||||
By Jay Maynard */
|
||||
/* #define AIXPS_2BUG */ /* avoid a problem with little_to_big() optimization
|
||||
*/
|
||||
|
||||
/* #define RANDOM */ /* if neither random/srandom nor lrand48/srand48
|
||||
is available from your system */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user