summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utilities/android.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utilities/android.hpp b/src/utilities/android.hpp
index 64e9b3f4..b73986bb 100644
--- a/src/utilities/android.hpp
+++ b/src/utilities/android.hpp
@@ -14,7 +14,7 @@
#ifndef CLBLAST_ANDROID_HPP_
#define CLBLAST_ANDROID_HPP_
-
+#ifndef __clang__ // not to include custom impl to avoid ambiguous definition
// =================================================================================================
#include <cstdlib>
@@ -42,6 +42,6 @@ inline int stoi( const std::string& str, std::size_t* pos = 0, int base = 10) {
}
// =================================================================================================
-
+#endif // clang header guard
// CLBLAST_ANDROID_HPP_
#endif