blob: 8300c60da5ecf402035312ed8122f60fdf77b014 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- third_party/swiftshader/src/System/Configurator.cpp.orig 2022-06-17 14:20:10 UTC
+++ third_party/swiftshader/src/System/Configurator.cpp
@@ -38,6 +38,9 @@ namespace sw {
Configurator::Configurator(const std::string &filePath)
{
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
+ return;
+#endif
std::fstream file(filePath, std::ios::in);
if(file.fail())
{
|