mirror of
https://github.com/abakh/nbsdgames.git
synced 2025-01-03 14:56:23 -05:00
Increasing NO_VLA sizes to something playable
This commit is contained in:
parent
17894949a9
commit
0fa2a4588f
@ -26,8 +26,8 @@ typedef signed char byte;
|
|||||||
|
|
||||||
/* The Plan9 compiler can not handle VLAs */
|
/* The Plan9 compiler can not handle VLAs */
|
||||||
#ifdef NO_VLA
|
#ifdef NO_VLA
|
||||||
#define len 10
|
#define len 36
|
||||||
#define wid 40
|
#define wid 80
|
||||||
|
|
||||||
#ifdef Plan9
|
#ifdef Plan9
|
||||||
int usleep(long usec) {
|
int usleep(long usec) {
|
||||||
|
@ -41,8 +41,8 @@ enum {BLOCK=0,SURVIVAL,MIRROR,IMITATE};
|
|||||||
typedef signed char byte;
|
typedef signed char byte;
|
||||||
/* The Plan9 compiler can not handle VLAs */
|
/* The Plan9 compiler can not handle VLAs */
|
||||||
#ifdef NO_VLA
|
#ifdef NO_VLA
|
||||||
#define len 10
|
#define len 36
|
||||||
#define wid 40
|
#define wid 80
|
||||||
|
|
||||||
#ifdef Plan9
|
#ifdef Plan9
|
||||||
int usleep(long usec) {
|
int usleep(long usec) {
|
||||||
|
Loading…
Reference in New Issue
Block a user