Skip to content
Snippets Groups Projects
Commit 2b51cb0a authored by deuce's avatar deuce
Browse files

Fix last commit for #ifndef XPDEV_THREAD_SAFE

parent ecf6b7aa
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,9 @@ struct alsa_api_struct {
struct alsa_api_struct *alsa_api=NULL;
#endif
#ifdef XPDEV_THREAD_SAFE
static void init_sample(void);
#endif
/********************************************************************************/
/* Calculate and generate a sound wave pattern (thanks to Deuce!) */
......@@ -366,7 +368,9 @@ void DLLCALL sdl_fillbuf(void *userdata, Uint8 *stream, int len)
}
#endif
#ifdef XPDEV_THREAD_SAFE
pthread_once_t sample_initialized_pto = PTHREAD_ONCE_INIT;
#endif
static BOOL
DLLCALL xptone_open_locked(void)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment