Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
f96d7dc2
Unverified
Commit
f96d7dc2
authored
Jan 31, 2019
by
John Kessenich
Committed by
GitHub
Jan 31, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1686 from mspang/glslang-fuchsia-build
Port Unix/ossource.cpp to Fuchsia
parents
16948832
d39c040d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ossource.cpp
glslang/OSDependent/Unix/ossource.cpp
+4
-1
No files found.
glslang/OSDependent/Unix/ossource.cpp
View file @
f96d7dc2
...
@@ -45,7 +45,10 @@
...
@@ -45,7 +45,10 @@
#include <stdint.h>
#include <stdint.h>
#include <cstdio>
#include <cstdio>
#include <sys/time.h>
#include <sys/time.h>
#if !defined(__Fuchsia__)
#include <sys/resource.h>
#include <sys/resource.h>
#endif
namespace
glslang
{
namespace
glslang
{
...
@@ -70,7 +73,7 @@ static void DetachThreadLinux(void *)
...
@@ -70,7 +73,7 @@ static void DetachThreadLinux(void *)
//
//
void
OS_CleanupThreadData
(
void
)
void
OS_CleanupThreadData
(
void
)
{
{
#if
def __ANDROID__
#if
defined(__ANDROID__) || defined(__Fuchsia__)
DetachThreadLinux
(
NULL
);
DetachThreadLinux
(
NULL
);
#else
#else
int
old_cancel_state
,
old_cancel_type
;
int
old_cancel_state
,
old_cancel_type
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment