summaryrefslogtreecommitdiff
path: root/PACE/pace/win32/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'PACE/pace/win32/sched.h')
-rw-r--r--PACE/pace/win32/sched.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/PACE/pace/win32/sched.h b/PACE/pace/win32/sched.h
index 795fb73e39e..6c04ae6b995 100644
--- a/PACE/pace/win32/sched.h
+++ b/PACE/pace/win32/sched.h
@@ -16,20 +16,17 @@
#ifndef PACE_SCHED_H_WIN32
#define PACE_SCHED_H_WIN32
+ /* These definitions are used in other files.
+ * Separate the declarations from the definitions to avoid circular
+ * inclusion. ie: some other funcs just need the typedefs and structs. */
+
+#include "pace/win32/schedtypes.h"
#include "pace/time.h"
#if defined (PACE_HAS_CPLUSPLUS)
extern "C" {
#endif /* PACE_HAS_CPLUSPLUS */
-#define PACE_SCHED_FIFO SCHED_FIFO
-#define PACE_SCHED_OTHER SCHED_RR
-
-#ifndef PACE_SCHED_PARAM
-#define PACE_SCHED_PARAM
- typedef struct sched_param { int a_; } pace_sched_param;
-#endif
-
#if defined (PACE_HAS_CPLUSPLUS)
}
#endif /* PACE_HAS_CPLUSPLUS */