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
c8a96f45
Commit
c8a96f45
authored
Aug 15, 2015
by
Neil Richardson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed VS2015 build
parent
f99b7dde
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Common.h
glslang/Include/Common.h
+1
-1
PpTokens.cpp
glslang/MachineIndependent/preprocessor/PpTokens.cpp
+1
-1
No files found.
glslang/Include/Common.h
View file @
c8a96f45
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
#ifndef _COMMON_INCLUDED_
#ifndef _COMMON_INCLUDED_
#define _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>
#include <basetsd.h>
#define snprintf sprintf_s
#define snprintf sprintf_s
#define safe_vsprintf(buf,max,format,args) vsnprintf_s((buf), (max), (max), (format), (args))
#define safe_vsprintf(buf,max,format,args) vsnprintf_s((buf), (max), (max), (format), (args))
...
...
glslang/MachineIndependent/preprocessor/PpTokens.cpp
View file @
c8a96f45
...
@@ -80,7 +80,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
...
@@ -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.
// For recording and playing back the stream of tokens in a macro definition.
//
//
#if
def _WIN32
#if
(defined(_MSC_VER) && _MSC_VER < 1900
/*vs2015*/
)
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#define snprintf sprintf_s
#define snprintf sprintf_s
#endif
#endif
...
...
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