projects
/
dosdemo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ee4a19d
)
forgot to conditionally include malloc.h for alloca on watcom and msvc
author
John Tsiombikas
<nuclear@mutantstargoat.com>
Mon, 3 Oct 2016 05:23:00 +0000
(08:23 +0300)
committer
John Tsiombikas
<nuclear@mutantstargoat.com>
Mon, 3 Oct 2016 05:23:00 +0000
(08:23 +0300)
src/polyfill.c
patch
|
blob
|
history
diff --git
a/src/polyfill.c
b/src/polyfill.c
index
122b234
..
80bfee5
100644
(file)
--- a/
src/polyfill.c
+++ b/
src/polyfill.c
@@
-2,7
+2,11
@@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
+#if defined(__WATCOMC__) || defined(_MSC_VER)
+#include <malloc.h>
+#else
#include <alloca.h>
+#endif
#include "polyfill.h"
#include "gfxutil.h"
#include "demo.h"