Mercurial > hg > CbC > old > device
comparison stdio.h @ 594:f49c825920c4 fix-ltosop
tosop optimize buf fix
author | kono |
---|---|
date | Sat, 21 Jan 2006 15:00:29 +0900 |
parents | 259a53737e25 |
children |
comparison
equal
deleted
inserted
replaced
593:c139d4d9307c | 594:f49c825920c4 |
---|---|
1 #ifndef __micro_c__ | 1 #ifndef __micro_c___ |
2 #ifndef __ARM_ARCH_4__ | |
2 #include "/usr/include/stdio.h" | 3 #include "/usr/include/stdio.h" |
4 #else /* __ARM_ARCH_4__ */ | |
5 // #include "/usr/include/stdio.h" | |
6 #include "/home/zaurus/develop/include/stdio.h" | |
7 #endif /* __ARM_ARCH_4__ */ | |
3 long long strtoll(const char *, char **, int); | 8 long long strtoll(const char *, char **, int); |
9 #ifndef __ARM_ARCH_4__ | |
4 void * malloc(size_t size); | 10 void * malloc(size_t size); |
5 void * realloc(void *ptr, size_t size); | 11 void * realloc(void *ptr, size_t size); |
12 #else /* __ARM_ARCH_4__ */ | |
13 char *malloc(int); | |
14 void * realloc(void *ptr, int size); | |
15 #endif /* __ARM_ARCH_4__ */ | |
6 #else | 16 #else |
7 | 17 |
8 // typedef int size_t; | 18 // typedef int size_t; |
9 #define size_t int | 19 #define size_t int |
10 | 20 |
21 #ifndef __ARM_ARCH_4__ | |
11 void * malloc(size_t size); | 22 void * malloc(size_t size); |
23 #endif /* ! __ARM_ARCH_4__ */ | |
12 long long strtoll(const char *, char **, int); | 24 long long strtoll(const char *, char **, int); |
13 void * realloc(void *ptr, size_t size); | 25 void * realloc(void *ptr, size_t size); |
14 | 26 |
15 #ifdef __APPLE__ | 27 #ifdef __APPLE__ |
16 | 28 |