Mercurial > hg > CbC > old > device
diff stdio.h @ 21:f9f789aa7587
Linux version (Redhat 7.2)
author | kono |
---|---|
date | Mon, 03 Feb 2003 23:11:21 +0900 |
parents | 8d3db5fc8a97 |
children | b35787d8a442 |
line wrap: on
line diff
--- a/stdio.h Mon Feb 03 17:52:54 2003 +0900 +++ b/stdio.h Mon Feb 03 23:11:21 2003 +0900 @@ -11,6 +11,7 @@ #define stderr (&__sF[2]) #else +#ifdef bsd extern FILE __sstdin; extern FILE __sstdout; extern FILE __sstderr; @@ -18,6 +19,17 @@ #define stdin (&__sstdin) #define stdout (&__sstdout) #define stderr (&__sstderr) +#else +/* new Linux */ +extern FILE *stdin; +extern FILE *stdout; +extern FILE *stderr; +/* +#define stdin stdin +#define stdout stdout +#define stderr stderr + */ +#endif #endif #define BUFSIZ 1024 /* size of buffer used by setbuf */