mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Add normal alloca() definition and implement a strdupa and friends
Change-Id: I21c9c21fd664fb11bc8496ace4a389f535a030d6
This commit is contained in:
parent
77b3625763
commit
17a007bc60
3 changed files with 50 additions and 1 deletions
|
@ -31,6 +31,11 @@ void free(void *);
|
|||
void *realloc(void *, size_t);
|
||||
int atexit(void (*)(void));
|
||||
|
||||
#ifdef __GNUC__
|
||||
# undef alloca
|
||||
# define alloca(size) __builtin_alloca (size)
|
||||
#endif /* GCC. */
|
||||
|
||||
#define RAND_MAX INT_MAX
|
||||
|
||||
void srand(unsigned int seed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue