From 05e56c74d26ec2c2e80be2959350066c57bbdeb6 Mon Sep 17 00:00:00 2001 From: polluks Date: Sat, 25 Feb 2012 21:07:17 +0000 Subject: [PATCH] backport git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@44247 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/c/Copy.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/workbench/c/Copy.c b/workbench/c/Copy.c index 884f409eab..66b6543f8d 100644 --- a/workbench/c/Copy.c +++ b/workbench/c/Copy.c @@ -547,10 +547,16 @@ static STRPTR skipspaces( STRPTR buffer); static STRPTR skipnonspaces( STRPTR buffer); static BOOL VersionFind( CONST_STRPTR path, struct VersionData *vds, struct CopyData *cd); +#ifdef __MORPHOS__ +#define BNULL NULL +int main() +{ +#else __startup static AROS_ENTRY(int, Start, AROS_UFHA(char *, argstr, A0), AROS_UFHA(ULONG, argsize, D0), struct ExecBase *, SysBase) +#endif { AROS_USERFUNC_INIT @@ -2649,5 +2655,3 @@ STRPTR skipnonspaces( STRPTR buffer) } } } - - -- 2.11.4.GIT