Commit c95f2cea authored by Ed "oddsock" Zaleski's avatar Ed "oddsock" Zaleski

added win32 support to libshout

- new MSVC6 project files
- os.h with WIN32 specific typedefs
- fixed some casting issues which were causing precision errors on win32
- apparently select doesn't work with microsecond granularity so we will use Sleep() which does.

svn path=/trunk/timing/; revision=5796
parent d7dc5d32
......@@ -70,5 +70,9 @@ void timing_sleep(uint64_t sleeptime)
* says so. The solaris manpage also says this is a legal
* value. If you think differerntly, please provide references.
*/
select(0, NULL, NULL, NULL, &sleeper);
#ifdef WIN32
Sleep(sleeptime);
#else
select(1, NULL, NULL, NULL, &sleeper);
#endif
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment