From 6d379448be58b82e598b7dc98b7a555478a4a131 Mon Sep 17 00:00:00 2001 From: Drake Arconis Date: Mon, 7 Jan 2013 11:59:25 -0500 Subject: [PATCH] Fixed a build issue in clang --- indra/llcommon/llthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llcommon/llthread.h b/indra/llcommon/llthread.h index 549a090ec..b8093ef82 100644 --- a/indra/llcommon/llthread.h +++ b/indra/llcommon/llthread.h @@ -33,7 +33,7 @@ #ifndef LL_LLTHREAD_H #define LL_LLTHREAD_H -#ifdef __GNUC__ +#if (defined(__GNUC__) && !defined(__clang__)) // Needed for is_main_thread() when compiling with optimization (relwithdebinfo). // It doesn't hurt to just always specify it though. #pragma interface