Merge pull request #92819 from alula/patch-1

Fix building glslang on platforms without `<filesystem>`
This commit is contained in:
Rémi Verschelde 2024-06-07 23:30:35 +02:00
commit f9c5cdf360
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 11 additions and 2 deletions

View File

@ -36,7 +36,7 @@
#define _INFOSINK_INCLUDED_
#include "../Include/Common.h"
#include <filesystem>
//#include <filesystem>
#include <cmath>
namespace glslang {

View File

@ -1,7 +1,16 @@
diff --git a/thirdparty/glslang/glslang/Include/InfoSink.h b/thirdparty/glslang/glslang/Include/InfoSink.h
index 23f495dcb7..b1b537df54 100644
index 23f495dc..137ede85 100644
--- a/thirdparty/glslang/glslang/Include/InfoSink.h
+++ b/thirdparty/glslang/glslang/Include/InfoSink.h
@@ -36,7 +36,7 @@
#define _INFOSINK_INCLUDED_
#include "../Include/Common.h"
-#include <filesystem>
+//#include <filesystem>
#include <cmath>
namespace glslang {
@@ -101,14 +101,14 @@ public:
snprintf(locText, maxSize, ":%d", loc.line);