mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Misc: Compiling under SDL2 uncovered a few issues unrelated to SDL itself
Change-Id: I625d5dd02d3f70bc6484a8641eafdaf13812f4a7
This commit is contained in:
parent
bc56e9a9dc
commit
6ed8b9091c
3 changed files with 11 additions and 5 deletions
|
@ -58,6 +58,10 @@
|
||||||
#include "pcm_mixer.h"
|
#include "pcm_mixer.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SIMULATOR
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* TODO: The audio thread really is doing multitasking of acting like a
|
/* TODO: The audio thread really is doing multitasking of acting like a
|
||||||
consumer and producer of tracks. It may be advantageous to better
|
consumer and producer of tracks. It may be advantageous to better
|
||||||
logically separate the two functions. I won't go that far just yet. */
|
logically separate the two functions. I won't go that far just yet. */
|
||||||
|
|
|
@ -46,6 +46,8 @@ struct regs
|
||||||
* give a decent amount of space and hope for the best...
|
* give a decent amount of space and hope for the best...
|
||||||
* FIXME: this isn't a great solution. */
|
* FIXME: this isn't a great solution. */
|
||||||
#undef MINSIGSTKSZ
|
#undef MINSIGSTKSZ
|
||||||
|
#endif
|
||||||
|
#ifndef MINSIGSTKSZ
|
||||||
#define MINSIGSTKSZ 16384
|
#define MINSIGSTKSZ 16384
|
||||||
#endif
|
#endif
|
||||||
/* MINSIGSTKSZ for the OS to deliver the signal + 0x3000 for us */
|
/* MINSIGSTKSZ for the OS to deliver the signal + 0x3000 for us */
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "memset16.h"
|
#include "memset16.h"
|
||||||
|
|
||||||
#if defined(WIN32) || defined(APPLICATION) \
|
#if defined(WIN32) || defined(APPLICATION) \
|
||||||
|| defined(__PCTOOL__)
|
|| defined(__PCTOOL__) || defined(SIMULATOR)
|
||||||
#ifndef mempcpy
|
#ifndef mempcpy
|
||||||
#define mempcpy __builtin_mempcpy
|
#define mempcpy __builtin_mempcpy
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue