From 9a82510734ca7f766366b46c31cac9287e23a014 Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Thu, 29 Aug 2019 16:51:27 -0700 Subject: [PATCH] Remove throw spec from omp.h for clang --- include/dmlc/omp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dmlc/omp.h b/include/dmlc/omp.h index 98b11ce06d..1135b4cdf8 100644 --- a/include/dmlc/omp.h +++ b/include/dmlc/omp.h @@ -11,7 +11,7 @@ #include #else -#if defined(__ANDROID__) +#if defined(__ANDROID__) && defined (__clang__) #undef __GOMP_NOTHROW #define __GOMP_NOTHROW #elif defined(__cplusplus)