clray
diff src/ocl.cc @ 11:d9a1bab1c3f5
ported to windows
author | John Tsiombikas |
---|---|
date | Sat, 31 Jul 2010 22:23:57 +0100 |
parents | deaf85acf6af |
children | 85fd61f374d9 |
line diff
1.1 --- a/src/ocl.cc Fri Jul 30 19:28:18 2010 +0100 1.2 +++ b/src/ocl.cc Sat Jul 31 22:23:57 2010 +0100 1.3 @@ -5,7 +5,11 @@ 1.4 #include <string.h> 1.5 #include <stdarg.h> 1.6 #include <errno.h> 1.7 +#ifndef _MSC_VER 1.8 #include <alloca.h> 1.9 +#else 1.10 +#include <malloc.h> 1.11 +#endif 1.12 #include <sys/stat.h> 1.13 #include "ocl.h" 1.14 #include "ocl_errstr.h"