oculus1
diff src/vr.cc @ 19:899cf9ebffb4
win32 project and fixes
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Sep 2013 06:17:34 +0300 |
parents | 1b107de821c1 |
children | ef4c9d8eeca7 |
line diff
1.1 --- a/src/vr.cc Thu Sep 26 10:33:08 2013 +0300 1.2 +++ b/src/vr.cc Sat Sep 28 06:17:34 2013 +0300 1.3 @@ -4,6 +4,12 @@ 1.4 #include "vr_impl.h" 1.5 #include "vr_sdr.h" 1.6 1.7 +#ifndef WIN32 1.8 +#include <alloca.h> 1.9 +#else 1.10 +#include <malloc.h> 1.11 +#endif 1.12 + 1.13 static void init_ctx(); 1.14 static bool init_ovr(); 1.15 static bool init_sdr();