This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 10
10
11
11
#ifdef FEATURE_PERFTRACING
12
12
13
- #ifndef __llvm__
13
+ #ifndef __GNUC__
14
14
__declspec (thread) ThreadEventBufferList ThreadEventBufferList::gCurrentThreadEventBufferList;
15
- #else // !__llvm__
15
+ #else // !__GNUC__
16
16
thread_local ThreadEventBufferList ThreadEventBufferList::gCurrentThreadEventBufferList ;
17
- #endif // !__llvm__
17
+ #endif // !__GNUC__
18
18
19
19
EventPipeBufferManager::EventPipeBufferManager ()
20
20
{
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ class EventPipeBufferList;
21
21
// when the thread dies so we can free EventPipeBufferList in the destructor.
22
22
class ThreadEventBufferList
23
23
{
24
- #ifndef __llvm__
24
+ #ifndef __GNUC__
25
25
__declspec (thread) static ThreadEventBufferList gCurrentThreadEventBufferList;
26
- #else // !__llvm__
26
+ #else // !__GNUC__
27
27
thread_local static ThreadEventBufferList gCurrentThreadEventBufferList ;
28
- #endif // !__llvm__
28
+ #endif // !__GNUC__
29
29
EventPipeBufferList * m_pThreadEventBufferList = NULL ;
30
30
~ThreadEventBufferList ();
31
31
You can’t perform that action at this time.
0 commit comments