summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/sys/sched.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-02-09 18:28:53 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-02-09 18:28:53 +0000
commit29915d8ef2142e7adbe66ff5d8f243d5cd00f164 (patch)
tree22120a19cf63a3ab2f29fd518dc9a5dcfdead59a /winsup/cygwin/include/sys/sched.h
parent9a1d57ec133221ae937e4549a46ca73a6fc6976d (diff)
downloadcygnal-29915d8ef2142e7adbe66ff5d8f243d5cd00f164.tar.gz
cygnal-29915d8ef2142e7adbe66ff5d8f243d5cd00f164.tar.bz2
cygnal-29915d8ef2142e7adbe66ff5d8f243d5cd00f164.zip
* fhandler_floppy.cc (fhandler_dev_floppy::open): Fix format. Add
code to allow to read disk and CD/DVD devices in full length. Explain why. (fhandler_dev_floppy::raw_read): Add current position to debug output. * include/sys/sched.h: New stub file to override newlib file with clashing definitions.
Diffstat (limited to 'winsup/cygwin/include/sys/sched.h')
-rw-r--r--winsup/cygwin/include/sys/sched.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/sched.h b/winsup/cygwin/include/sys/sched.h
new file mode 100644
index 000000000..8a03ccd88
--- /dev/null
+++ b/winsup/cygwin/include/sys/sched.h
@@ -0,0 +1,16 @@
+/* sys/sched.h: stub to the scheduler interface for Cygwin
+
+ The purpose of this file is to override newlib's sched.h. The definitions
+ in newlib's sched.h are coliding with the definitions in Cygwin's sched.h.
+
+ Copyright 2009 Red Hat, Inc.
+
+ This file is part of Cygwin.
+
+ This software is a copyrighted work licensed under the terms of the
+ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+ details. */
+
+#ifndef _SCHED_H
+#include <sched.h>
+#endif /* _SCHED_H */