Index: webkit/build/JavaScriptCore/sched.h |
diff --git a/webkit/build/JavaScriptCore/sched.h b/webkit/build/JavaScriptCore/sched.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..276e87ac1ced4021bf19340f2c14267040e24191 |
--- /dev/null |
+++ b/webkit/build/JavaScriptCore/sched.h |
@@ -0,0 +1,14 @@ |
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__ |
+#define WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__ |
+ |
+// Dummy implementation of sched.h so WTF will compile. |
+ |
+inline int sched_yield() { |
+ return 0; |
+} |
+ |
+#endif // WEBKIT_BUILD_JAVASCRIPTCORE_SCHED_H__ |