diff options
author | David <david@xagasoft.com> | 2010-02-04 21:37:00 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2010-02-04 21:37:00 +0000 |
commit | 1f29dc180b5a86ddf2115f97ad410e0e9b1beb4b (patch) | |
tree | bd4236dd6ffb7e7ca19eb3611e3c57e8f1ef924e /src/ito.cpp | |
parent | 81b7d806028bd484e2765cbc57b9677544bf52b2 (diff) | |
download | libbu++-1f29dc180b5a86ddf2115f97ad410e0e9b1beb4b.tar.gz libbu++-1f29dc180b5a86ddf2115f97ad410e0e9b1beb4b.tar.bz2 libbu++-1f29dc180b5a86ddf2115f97ad410e0e9b1beb4b.tar.xz libbu++-1f29dc180b5a86ddf2115f97ad410e0e9b1beb4b.zip |
david - Made a build-M3 file for building to windows (mingw). This one actually builds *.cpp, yay!... Although i took out Process, Plugger, and Regex... to be re-added later... also had to stubify a few more functions when compiling on WIN32.
Diffstat (limited to 'src/ito.cpp')
-rw-r--r-- | src/ito.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ito.cpp b/src/ito.cpp index c8b3d68..e9fb033 100644 --- a/src/ito.cpp +++ b/src/ito.cpp | |||
@@ -43,6 +43,10 @@ bool Bu::Ito::join() | |||
43 | 43 | ||
44 | void Bu::Ito::yield() | 44 | void Bu::Ito::yield() |
45 | { | 45 | { |
46 | #ifndef WIN32 | ||
46 | pthread_yield(); | 47 | pthread_yield(); |
48 | #else | ||
49 | #warning Bu::Ito::yield IS A STUB for WIN32!!!! | ||
50 | #endif | ||
47 | } | 51 | } |
48 | 52 | ||