fix building glslang on platforms without <filesystem>

This commit is contained in:
alula 2024-06-05 23:05:59 +02:00 committed by Alula
parent 96a386f3c4
commit 3cc3c0bd95
No known key found for this signature in database
GPG Key ID: 3E00485503A1D8BA
2 changed files with 11 additions and 2 deletions

View File

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

View File

@ -1,7 +1,16 @@
diff --git a/thirdparty/glslang/glslang/Include/InfoSink.h b/thirdparty/glslang/glslang/Include/InfoSink.h 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 --- a/thirdparty/glslang/glslang/Include/InfoSink.h
+++ b/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: @@ -101,14 +101,14 @@ public:
snprintf(locText, maxSize, ":%d", loc.line); snprintf(locText, maxSize, ":%d", loc.line);