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
259 err = pthread_attr_init (&at);259 err = pthread_attr_init (&at);
260 if (err)260 if (err)
261 return err;261 return err;
262#ifndef __ANDROID__262#if !defined(__ANDROID__) && !defined(__Fuchsia__)
263 err = pthread_attr_setscope (&at, PTHREAD_SCOPE_SYSTEM);263 err = pthread_attr_setscope (&at, PTHREAD_SCOPE_SYSTEM);
264 if (err)264 if (err)
265 return err;265 return err;
@@ -560,5 +560,3 @@ WELS_THREAD_ERROR_CODE WelsQueryLogicalProcessInfo (WelsLogicalProcessInfo* p · 294 unmodified lines
560}560}
561 561
562#endif562#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