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.
#include <stdio.h>
#include "openalbridge.h"
int main (int argc, int **argv) {
openal_init();
openal_close();
return 0;
}