summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/marshal.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-16 15:28:47 +1100
committerTimothy Arceri <[email protected]>2017-03-16 15:33:08 +1100
commit4a32d473fd6c10451fca813e462abfbe6c876048 (patch)
treebcb0ddf89b8ec61da3df1aef1f6f905eef31b9b3 /src/mesa/main/marshal.c
parent643b0fd7e9269280b7ae0fc5c0e75c32597aa120 (diff)
mesa: fix glthread marshal build issues on platforms without PTHREAD
Diffstat (limited to 'src/mesa/main/marshal.c')
-rw-r--r--src/mesa/main/marshal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c
index 37c7b1b3dde..f8cad30e201 100644
--- a/src/mesa/main/marshal.c
+++ b/src/mesa/main/marshal.c
@@ -31,6 +31,8 @@
#include "dispatch.h"
#include "marshal_generated.h"
+#ifdef HAVE_PTHREAD
+
struct marshal_cmd_Flush
{
struct marshal_cmd_base cmd_base;
@@ -257,3 +259,4 @@ _mesa_marshal_BindBuffer(GLenum target, GLuint buffer)
}
}
+#endif