summaryrefslogtreecommitdiff
path: root/external/libgltf/patches/openmp-disable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/libgltf/patches/openmp-disable.patch')
-rw-r--r--external/libgltf/patches/openmp-disable.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/external/libgltf/patches/openmp-disable.patch b/external/libgltf/patches/openmp-disable.patch
new file mode 100644
index 000000000000..c084183e2f3b
--- /dev/null
+++ b/external/libgltf/patches/openmp-disable.patch
@@ -0,0 +1,12 @@
+--- libgltf/src/RenderScene.h
++++ libgltf/src/RenderScene.h
+@@ -16,7 +16,8 @@
+ #include "FPSCounter.h"
+ #include "Timer.h"
+
+-#define OPENMPENABLE 1
++// Needs a configure / etc. detection to see if omp.h is on the system ...
++#define OPENMPENABLE 0
+ #if OPENMPENABLE
+ #include <omp.h>
+ #define WAVESIZE 4