Fixed bug #215
The current SVN trunk is missing the SDLCALL specifier at numerous locations. It has to be added for all (possibly user provided) callbacks. I stumbled over this while creating a makefile for the OpenWatcom compiler for Win32. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401728
This commit is contained in:
parent
cab8a203a7
commit
b4ba6518d6
19 changed files with 85 additions and 63 deletions
|
@ -120,13 +120,13 @@ static int audio_configured = 0;
|
|||
#endif
|
||||
|
||||
/* The general mixing thread function */
|
||||
int SDL_RunAudio(void *audiop)
|
||||
int SDLCALL SDL_RunAudio(void *audiop)
|
||||
{
|
||||
SDL_AudioDevice *audio = (SDL_AudioDevice *)audiop;
|
||||
Uint8 *stream;
|
||||
int stream_len;
|
||||
void *udata;
|
||||
void (*fill)(void *userdata,Uint8 *stream, int len);
|
||||
void (SDLCALL *fill)(void *userdata,Uint8 *stream, int len);
|
||||
int silence;
|
||||
#if SDL_AUDIO_DRIVER_AHI
|
||||
int started = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue