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:
b3ca404
)
Build: Fix strdup -> _strdup warnings.
author
John Kessenich
<cepheus@frii.com>
Tue, 12 Sep 2017 03:27:23 +0000
(21:27 -0600)
committer
John Kessenich
<cepheus@frii.com>
Tue, 12 Sep 2017 03:56:09 +0000
(21:56 -0600)
glslang/Include/Common.h
patch
|
blob
|
history
diff --git
a/glslang/Include/Common.h
b/glslang/Include/Common.h
index a2bdaa1f58232dbdc60c7be7e04a7ccc5053d250..6e201e38379f9d5d7c1d061964c28ee7c6348967 100644
(file)
--- a/
glslang/Include/Common.h
+++ b/
glslang/Include/Common.h
@@
-78,6
+78,10
@@
inline long long int atoll (const char* str)
}
#endif
+#if defined(_MSC_VER)
+#define strdup _strdup
+#endif
+
/* windows only pragma */
#ifdef _MSC_VER
#pragma warning(disable : 4786) // Don't warn about too long identifiers