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
8b2f96d3
Commit
8b2f96d3
authored
Apr 03, 2019
by
Daniel Koch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check if _MSC_VER is defined before using.
Fixes compilation errors on some platforms.
parent
ef807f4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SPVRemapper.h
SPIRV/SPVRemapper.h
+1
-1
Common.h
glslang/Include/Common.h
+1
-1
No files found.
SPIRV/SPVRemapper.h
View file @
8b2f96d3
...
@@ -45,7 +45,7 @@ namespace spv {
...
@@ -45,7 +45,7 @@ namespace spv {
// MSVC defines __cplusplus as an older value, even when it supports almost all of 11.
// MSVC defines __cplusplus as an older value, even when it supports almost all of 11.
// We handle that here by making our own symbol.
// We handle that here by making our own symbol.
#if __cplusplus >= 201103L ||
_MSC_VER >= 1700
#if __cplusplus >= 201103L ||
(defined(_MSC_VER) && _MSC_VER >= 1700)
# define use_cpp11 1
# define use_cpp11 1
#endif
#endif
...
...
glslang/Include/Common.h
View file @
8b2f96d3
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
#define _COMMON_INCLUDED_
#define _COMMON_INCLUDED_
#if defined(__ANDROID__) ||
_MSC_VER < 1700
#if defined(__ANDROID__) ||
(defined(_MSC_VER) && _MSC_VER < 1700)
#include <sstream>
#include <sstream>
namespace
std
{
namespace
std
{
template
<
typename
T
>
template
<
typename
T
>
...
...
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