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.
#ifndef HEDGEWARS_PACKAGES_MOUNTER_H
#define HEDGEWARS_PACKAGES_MOUNTER_H
#include "physfs.h"
#ifdef __cplusplus
extern "C" {
#endif
PHYSFS_DECL void hedgewarsMountPackages();
#ifdef __cplusplus
}
#endif
#endif