From 208f00ecf781793f14023a48d83356c28aa335f1 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 10 Nov 2004 19:39:13 +0000 Subject: [PATCH] - added missing defines to compile libio with _STDIO_USES_IOSTREAM not being set (although we do set it now). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9902 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/glibc/libio/libio.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/kernel/libroot/posix/glibc/libio/libio.h b/src/kernel/libroot/posix/glibc/libio/libio.h index 65cfd1f5fb..463a45ec55 100644 --- a/src/kernel/libroot/posix/glibc/libio/libio.h +++ b/src/kernel/libroot/posix/glibc/libio/libio.h @@ -329,6 +329,12 @@ typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; +#if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001 +#define _IO_stdin_ _IO_2_1_stdin_ +#define _IO_stdout_ _IO_2_1_stdout_ +#define _IO_stderr_ _IO_2_1_stderr_ +#endif + extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_;