diff options
author | Timothy Arceri <[email protected]> | 2017-03-16 15:28:47 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-16 15:33:08 +1100 |
commit | 4a32d473fd6c10451fca813e462abfbe6c876048 (patch) | |
tree | bcb0ddf89b8ec61da3df1aef1f6f905eef31b9b3 /src/mesa/main/marshal.c | |
parent | 643b0fd7e9269280b7ae0fc5c0e75c32597aa120 (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.c | 3 |
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 |