summaryrefslogtreecommitdiff
path: root/src/clpp11.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-10-29 12:07:07 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-10-29 12:07:07 +0100
commit319762f15075b7c80812b578a0da613cf867b9f2 (patch)
tree8a1b354e25a5931326aecaadbaac7f705ba2a70a /src/clpp11.hpp
parent12b08ae49154379f7471a40809ace6418857b387 (diff)
Added Android support using the GNU C++ STL library and the GCC toolchain
Diffstat (limited to 'src/clpp11.hpp')
-rw-r--r--src/clpp11.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/clpp11.hpp b/src/clpp11.hpp
index 0cdd92e7..82fc44fd 100644
--- a/src/clpp11.hpp
+++ b/src/clpp11.hpp
@@ -53,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"