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
30ac0525
Commit
30ac0525
authored
Sep 11, 2017
by
John Kessenich
Committed by
GitHub
Sep 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1055 from KhronosGroup/strdup
Build: Fix strdup -> _strdup warnings.
parents
b3ca4045
d9bd97d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Common.h
glslang/Include/Common.h
+4
-0
No files found.
glslang/Include/Common.h
View file @
30ac0525
...
@@ -78,6 +78,10 @@ inline long long int atoll (const char* str)
...
@@ -78,6 +78,10 @@ inline long long int atoll (const char* str)
}
}
#endif
#endif
#if defined(_MSC_VER)
#define strdup _strdup
#endif
/* windows only pragma */
/* windows only pragma */
#ifdef _MSC_VER
#ifdef _MSC_VER
#pragma warning(disable : 4786) // Don't warn about too long identifiers
#pragma warning(disable : 4786) // Don't warn about too long identifiers
...
...
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