projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3416d48
)
Add cstdlib include
author
Daniel Koch
<dkoch@nvidia.com>
Sat, 6 Apr 2019 11:43:17 +0000
(07:43 -0400)
committer
Daniel Koch
<dkoch@nvidia.com>
Sat, 6 Apr 2019 11:43:17 +0000
(07:43 -0400)
On some platforms some of the includers of this header don't have
'atoi' defined after the change in #1749
glslang/Include/Common.h
patch
|
blob
|
history
diff --git
a/glslang/Include/Common.h
b/glslang/Include/Common.h
index f79f2d6d3ed7ea0a7aa14840e375d39bc903c96e..733a790cfde238c35e477eee7d4404ecc3493690 100644
(file)
--- a/
glslang/Include/Common.h
+++ b/
glslang/Include/Common.h
@@
-102,6
+102,7
@@
std::string to_string(const T& val) {
#include <algorithm>
#include <string>
#include <cstdio>
+#include <cstdlib>
#include <cassert>
#include "PoolAlloc.h"