summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2022-04-14 10:26:52 +0200
committerGitHub <noreply@github.com>2022-04-14 10:26:52 +0200
commit9e2ccb7f2b7405f72cf5bdb0a2c2dd20ab519cbd (patch)
tree49689d3d9d3f0236bfcb1f4a30c94a6d8dabc2c8
parent8d298af10b7a193ed32506d0e26ec8a4a0cf1f2f (diff)
parentf3f3c88710deb00f2ee42dc92ed9c7debdc1392a (diff)
Merge pull request #431 from danyougle/patch-2
android.hpp: custom header guard _clang_
-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