diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-11-26 16:28:12 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-11-26 16:28:12 -0500 |
commit | 0a333110f7c7228a2e2d4f57814979392df192c3 (patch) | |
tree | 8d383291be2fb7027f7131f40c908ea3fe8ba08f /compat.h | |
parent | 4575851ea331ea85946c30421541a493c6659445 (diff) |
Build on Windows using mingw32.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -10,6 +10,16 @@ static inline void sleep(int secs) Sleep(secs * 1000); } +enum { + PRIO_PROCESS = 0, +}; + +static inline int setpriority(int which, int who, int prio) +{ + /* FIXME - actually do something */ + return 0; +} + #endif /* WIN32 */ #endif /* __COMPAT_H__ */ |