| … | … | @@ -36,12 +36,15 @@ |
| 36 | 36 | * @date Sun Aug 4 2013 |
| 37 | 37 | */ |
| 38 | 38 | |
| 39 | #define _XOPEN_SOURCE 500 | |
| 40 | ||
| 39 | 41 | #include <execinfo.h> |
| 40 | 42 | #include <stdio.h> |
| 41 | 43 | #include <string.h> |
| 42 | 44 | #include <stdlib.h> |
| 43 | 45 | #include "CLHash_Utilities.h" |
| 44 | 46 | |
| 47 | ||
| 45 | 48 | //#ifdef HAVE_CONFIG_H |
| 46 | 49 | //#include "config.h" |
| 47 | 50 | //#endif |
| … | … | @@ -45,6 +45,7 @@ |
| 45 | 45 | #include <CL/cl.h> |
| 46 | 46 | #endif |
| 47 | 47 | #else |
| 48 | typedef unsigned int uint; | |
| 48 | 49 | typedef int cl_int; |
| 49 | 50 | typedef int cl_context; |
| 50 | 51 | typedef int cl_program; |