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
a8018b8e
Commit
a8018b8e
authored
May 17, 2016
by
baldurk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[VS2010] Define strtoll() and atoll() functions
parent
bf2c88b6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
Common.h
glslang/Include/Common.h
+12
-0
No files found.
glslang/Include/Common.h
View file @
a8018b8e
...
@@ -62,6 +62,18 @@ std::string to_string(const T& val) {
...
@@ -62,6 +62,18 @@ std::string to_string(const T& val) {
}
}
}
}
#endif
#endif
#if _MSC_VER < 1700
inline
long
long
int
strtoll
(
const
char
*
str
,
char
**
endptr
,
int
base
)
{
return
_strtoi64
(
str
,
endptr
,
base
);
}
inline
long
long
int
atoll
(
const
char
*
str
)
{
return
strtoll
(
str
,
NULL
,
10
);
}
#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