mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Fix global declarations of libc fns
This commit is contained in:
parent
0dd3db7061
commit
1ef4dbe691
@ -12,8 +12,10 @@
|
|||||||
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
|
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
|
||||||
|
|
||||||
#if defined (__APPLE__) || defined (__CYGWIN__)
|
#if defined (__APPLE__) || defined (__CYGWIN__)
|
||||||
void memset(void *, int, size_t);
|
void *memset(void *, int, size_t);
|
||||||
void memcpy(void *, const void *, size_t);
|
void *memcpy(void *, const void *, size_t);
|
||||||
|
int strcmp(const char *s1, const char *s2);
|
||||||
|
char* strcpy(char *dst0, const char *src0);
|
||||||
#endif // __APPLE__
|
#endif // __APPLE__
|
||||||
|
|
||||||
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
|
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
|
||||||
|
Loading…
Reference in New Issue
Block a user