diff stdio.h @ 594:f49c825920c4 fix-ltosop

tosop optimize buf fix
author kono
date Sat, 21 Jan 2006 15:00:29 +0900
parents 259a53737e25
children
line wrap: on
line diff
--- a/stdio.h	Fri Jan 20 18:48:45 2006 +0900
+++ b/stdio.h	Sat Jan 21 15:00:29 2006 +0900
@@ -1,14 +1,26 @@
-#ifndef __micro_c__
+#ifndef __micro_c___
+#ifndef __ARM_ARCH_4__
 #include "/usr/include/stdio.h"
+#else /* __ARM_ARCH_4__ */
+// #include "/usr/include/stdio.h"
+#include "/home/zaurus/develop/include/stdio.h"
+#endif /* __ARM_ARCH_4__ */
 long long strtoll(const char *, char **, int);
+#ifndef __ARM_ARCH_4__
 void * malloc(size_t size);
 void * realloc(void *ptr, size_t size);
+#else /* __ARM_ARCH_4__ */
+char *malloc(int);
+void * realloc(void *ptr, int size);
+#endif /* __ARM_ARCH_4__ */
 #else
 
 // typedef int size_t;
 #define size_t int
 
+#ifndef __ARM_ARCH_4__
 void * malloc(size_t size);
+#endif /* ! __ARM_ARCH_4__ */
 long long strtoll(const char *, char **, int);
 void * realloc(void *ptr, size_t size);