libdrawtext
diff src/drawgl.c @ 70:80a2e0556fc1
added visual studio project and fixed some windows build problems
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 10 Mar 2013 18:29:21 +0200 |
parents | 462bcb69de15 |
children | 00f98842608f |
line diff
1.1 --- a/src/drawgl.c Thu Feb 28 18:51:33 2013 +0200 1.2 +++ b/src/drawgl.c Sun Mar 10 18:29:21 2013 +0200 1.3 @@ -22,6 +22,12 @@ 1.4 1.5 #include <stdlib.h> 1.6 1.7 +#ifndef _MSC_VER 1.8 +#include <alloca.h> 1.9 +#else 1.10 +#include <malloc.h> 1.11 +#endif 1.12 + 1.13 #ifdef TARGET_IPHONE 1.14 #include <OpenGLES/ES2/gl.h> 1.15 #else