eobish
diff src/level.c @ 7:6a350c554e46
started DOS port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 19 Jan 2015 15:49:14 +0200 |
parents | ce0548d24918 |
children |
line diff
1.1 --- a/src/level.c Mon Jan 19 02:32:01 2015 +0200 1.2 +++ b/src/level.c Mon Jan 19 15:49:14 2015 +0200 1.3 @@ -3,6 +3,11 @@ 1.4 #include <string.h> 1.5 #include <ctype.h> 1.6 #include <math.h> 1.7 +#if defined(_MSC_VER) || defined(__WATCOMC__) 1.8 +#include <malloc.h> 1.9 +#else 1.10 +#include <alloca.h> 1.11 +#endif 1.12 #include "level.h" 1.13 1.14 #define C_WALL '#'