Forráskód Böngészése

Fixed VS2012 build.

Branimir Karadžić 9 éve
szülő
commit
72728ed45d
1 módosított fájl, 6 hozzáadás és 0 törlés
  1. 6 0
      scripts/shaderc.lua

+ 6 - 0
scripts/shaderc.lua

@@ -6,6 +6,12 @@
 project "glslang"
 project "glslang"
 	kind "StaticLib"
 	kind "StaticLib"
 
 
+	configuration { "vs2012" }
+		defines {
+			"strtoll=_strtoi64",
+			"strtoull=_strtoui64",
+		}
+
 	configuration { "vs*" }
 	configuration { "vs*" }
 		buildoptions {
 		buildoptions {
 			"/wd4005", -- warning C4005: '_CRT_SECURE_NO_WARNINGS': macro redefinition
 			"/wd4005", -- warning C4005: '_CRT_SECURE_NO_WARNINGS': macro redefinition