diff options
Diffstat (limited to 'src/clpp11.hpp')
-rw-r--r-- | src/clpp11.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/clpp11.hpp b/src/clpp11.hpp index 2335caef..82fc44fd 100644 --- a/src/clpp11.hpp +++ b/src/clpp11.hpp @@ -43,6 +43,7 @@ #include <memory> // std::shared_ptr #include <numeric> // std::accumulate #include <cstring> // std::strlen +#include <cstdio> // fprintf, stderr // OpenCL #define CL_USE_DEPRECATED_OPENCL_1_2_APIS // to disable deprecation warnings @@ -52,6 +53,11 @@ #include <CL/opencl.h> #endif +// Android support (missing C++11 functions to_string, stod, and stoi) +#ifdef __ANDROID__ + #include "utilities/android.hpp" +#endif + // Exception classes #include "cxpp11_common.hpp" |