shithub: openh264

Download patch

ref: 383bd18c2729ec3720cc31ed2196290d37d638d8
parent: b91e1e5960be5987d96f0f21bdb805c63921971c
parent: 965347e171074abfb643b2a404305965f559b910
author: rzhangma <rzhangma@users.noreply.github.com>
date: Fri Mar 23 05:33:32 EDT 2018

Merge pull request #2935 from drwez/fixFuchsia

Fix WelsThreadLib.cpp to build under Fuchsia.

--- a/codec/common/src/WelsThreadLib.cpp
+++ b/codec/common/src/WelsThreadLib.cpp
@@ -259,7 +259,7 @@
   err = pthread_attr_init (&at);
   if (err)
     return err;
-#ifndef __ANDROID__
+#if !defined(__ANDROID__) && !defined(__Fuchsia__)
   err = pthread_attr_setscope (&at, PTHREAD_SCOPE_SYSTEM);
   if (err)
     return err;
@@ -560,5 +560,3 @@
 }
 
 #endif
-
-