diff stdio.h @ 116:b14ff9671c90 self-compile-passed

register offset fix
author kono
date Fri, 21 Mar 2003 04:41:02 +0900
parents 8ffb8ca3fe34
children 0f395aa93438
line wrap: on
line diff
--- a/stdio.h	Thu Mar 20 15:11:50 2003 +0900
+++ b/stdio.h	Fri Mar 21 04:41:02 2003 +0900
@@ -2,19 +2,23 @@
 #include "/usr/include/stdio.h"
 #else
 
-typedef	struct {
-	/* this is all wrong, but so what? */
-	/* char	pad[96];	 */
-	char	pad[148];	
-} FILE;
 #ifdef __APPLE__
 
+typedef	struct {
+	/* char	pad[96];	 */
+	char	pad[88];	
+} FILE;
 extern FILE __sF[];
 #define stdin   (&__sF[0])
 #define stdout  (&__sF[1])
 #define stderr  (&__sF[2])
 
 #else
+typedef	struct {
+	/* this is all wrong, but so what? */
+	/* char	pad[96];	 */
+	char	pad[148];	
+} FILE;
 #ifdef bsd
 extern FILE __sstdin;
 extern FILE __sstdout;