From fcb8cfc0dc573d351bec900539e0030acb3699d1 Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Mon, 7 Feb 2005 11:19:32 +0000 Subject: [PATCH] - Small changes to make this build properly for OS4. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14830 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/stdio_fdhookentry.c | 8 +++++++- library/unistd_wildcard_expand.c | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/library/stdio_fdhookentry.c b/library/stdio_fdhookentry.c index a1d3a77..bc784d0 100644 --- a/library/stdio_fdhookentry.c +++ b/library/stdio_fdhookentry.c @@ -1,5 +1,5 @@ /* - * $Id: stdio_fdhookentry.c,v 1.9 2005-02-04 15:03:11 obarthel Exp $ + * $Id: stdio_fdhookentry.c,v 1.10 2005-02-07 11:19:31 obarthel Exp $ * * :ts=4 * @@ -52,6 +52,12 @@ /****************************************************************************/ +#if defined(__amigaos4__) && !defined(Flush) +#define Flush(fh) FFlush(fh) +#endif /* __amigaos4__ && !Flush */ + +/****************************************************************************/ + /* This is used in place of ExamineFH() in order to work around a bug in * dos.library V40 and below: a "NIL:" file handle will crash the * ExamineFH() function. diff --git a/library/unistd_wildcard_expand.c b/library/unistd_wildcard_expand.c index 8627d84..5f68699 100644 --- a/library/unistd_wildcard_expand.c +++ b/library/unistd_wildcard_expand.c @@ -1,5 +1,5 @@ /* - * $Id: unistd_wildcard_expand.c,v 1.6 2005-02-03 16:56:17 obarthel Exp $ + * $Id: unistd_wildcard_expand.c,v 1.7 2005-02-07 11:19:32 obarthel Exp $ * * :ts=4 * @@ -51,6 +51,12 @@ /****************************************************************************/ +#if defined(__amigaos4__) +#define ap_Buf ap_Buffer +#endif /* __amigaos4__ */ + +/****************************************************************************/ + UBYTE * __allocate_quote_vector(int num_parameters) {