Fixed a build issue in clang
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
#ifndef LL_LLTHREAD_H
|
#ifndef LL_LLTHREAD_H
|
||||||
#define LL_LLTHREAD_H
|
#define LL_LLTHREAD_H
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if (defined(__GNUC__) && !defined(__clang__))
|
||||||
// Needed for is_main_thread() when compiling with optimization (relwithdebinfo).
|
// Needed for is_main_thread() when compiling with optimization (relwithdebinfo).
|
||||||
// It doesn't hurt to just always specify it though.
|
// It doesn't hurt to just always specify it though.
|
||||||
#pragma interface
|
#pragma interface
|
||||||
|
|||||||
Reference in New Issue
Block a user