History

Fix WelsThreadLib.cpp to build under Fuchsia

Wez committed 8 years ago

Commit 965347e1 parent a0984291 file · +1 −3Browse files

Showing the changes to codec/common/src/WelsThreadLib.cpp (1 of 1 file). Show all

Unified · Split

codec/common/src/WelsThreadLib.cpp+1−3
@@ -259,7 +259,7 @@ WELS_THREAD_ERROR_CODE WelsThreadCreate (WELS_THREAD_HANDLE* thread, LPWELS_ · 258 unmodified lines
259259 err = pthread_attr_init (&at);
260260 if (err)
261261 return err;
262−#ifndef __ANDROID__
262+#if !defined(__ANDROID__) && !defined(__Fuchsia__)
263263 err = pthread_attr_setscope (&at, PTHREAD_SCOPE_SYSTEM);
264264 if (err)
265265 return err;
@@ -560,5 +560,3 @@ WELS_THREAD_ERROR_CODE WelsQueryLogicalProcessInfo (WelsLogicalProcessInfo* p · 294 unmodified lines
560560 }
561561
562562 #endif
563−
564−

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t