Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glslang
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
deqp-deps
glslang
Commits
c8a96f45
Commit
c8a96f45
authored
9 years ago
by
Neil Richardson
Browse files
Options
Downloads
Patches
Plain Diff
Fixed VS2015 build
parent
f99b7dde
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
glslang/Include/Common.h
+1
-1
1 addition, 1 deletion
glslang/Include/Common.h
glslang/MachineIndependent/preprocessor/PpTokens.cpp
+1
-1
1 addition, 1 deletion
glslang/MachineIndependent/preprocessor/PpTokens.cpp
with
2 additions
and
2 deletions
glslang/Include/Common.h
+
1
−
1
View file @
c8a96f45
...
...
@@ -37,7 +37,7 @@
#ifndef _COMMON_INCLUDED_
#define _COMMON_INCLUDED_
#if defined
_MSC_VER
|| defined MINGW_HAS_SECURE_API
#if
(
defined
(_MSC_VER) && _MSC_VER < 1900
/*vs2015*/
)
|| defined MINGW_HAS_SECURE_API
#include
<basetsd.h>
#define snprintf sprintf_s
#define safe_vsprintf(buf,max,format,args) vsnprintf_s((buf), (max), (max), (format), (args))
...
...
This diff is collapsed.
Click to expand it.
glslang/MachineIndependent/preprocessor/PpTokens.cpp
+
1
−
1
View file @
c8a96f45
...
...
@@ -80,7 +80,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// For recording and playing back the stream of tokens in a macro definition.
//
#ifdef
_WIN32
#if
(
def
ined(_MSC_VER) && _MSC_VER < 1900
/*vs2015*/
)
#define _CRT_SECURE_NO_WARNINGS
#define snprintf sprintf_s
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment