use SDL_Threads everywhere
The trick was to mark the threaded functions as cdecl and load arguments correctly. This allows us to:
- drop a few ifdefs;
- use integrated waiting code;
- remove some whitespaces \o/;
- fix
bug #591.
if(WIN32 AND NOT UNIX)
file(GLOB DLLs *.dll)
file(GLOB ICOs *.ico)
install(FILES
${DLLs}
${ICOs}
DESTINATION ${target_library_install_dir})
endif(WIN32 AND NOT UNIX)