Mesa (master): Revert "sched.h needs to be imported on Darwin/OSX targets."
Dylan Baker
dbaker at kemper.freedesktop.org
Wed Mar 14 16:31:06 UTC 2018
Module: Mesa
Branch: master
Commit: 0f30c80932342e1e4dfef0b11012ab053d9d7ca8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f30c80932342e1e4dfef0b11012ab053d9d7ca8
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Mar 14 09:28:58 2018 -0700
Revert "sched.h needs to be imported on Darwin/OSX targets."
This reverts commit 9dc5063262d0a5130cf0723a33079f3fd17560c3.
This breaks the build on at least Linux, probably other non-apple
platforms.
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
---
src/gallium/drivers/swr/swr_fence.cpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/gallium/drivers/swr/swr_fence.cpp b/src/gallium/drivers/swr/swr_fence.cpp
index b05ac8cec0..3005eb9aaa 100644
--- a/src/gallium/drivers/swr/swr_fence.cpp
+++ b/src/gallium/drivers/swr/swr_fence.cpp
@@ -29,10 +29,6 @@
#include "swr_screen.h"
#include "swr_fence.h"
-#ifdef __APPLE__
-#include <sched.h>
-#endif
-
#if defined(PIPE_CC_MSVC) // portable thread yield
#define sched_yield SwitchToThread
#endif
More information about the mesa-commit
mailing list