diff options
Diffstat (limited to 'pocl/pocl-compat.h')
-rw-r--r-- | pocl/pocl-compat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pocl/pocl-compat.h b/pocl/pocl-compat.h index d84ef40..7d73256 100644 --- a/pocl/pocl-compat.h +++ b/pocl/pocl-compat.h @@ -16,7 +16,9 @@ #include <cstdint> #include <cstring> - +#ifndef cl_khr_fp64 +#define M_PI M_PI_F +#endif // Define vector types |