Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / clib / include / sys / syscall.h
blob7d52348db8cf5f47bf771a82150b6fe346441508
1 #ifndef _SYSCALL_H_
2 #define _SYSCALL_H_
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: syscalls definitions
9 Lang: english
12 #include <exec/types.h>
13 #include <exec/libraries.h>
15 enum
17 #define SYSTEM_CALL(name, x...) ,SYS_##name
18 SYS_clibdummy = LIB_RESERVED
19 #include <sys/syscall.def>
20 #undef SYSTEM_CALL
23 extern struct Library *aroscbase;
24 #define syscall(name,args...) \
25 ((int (*)())__AROS_GETVECADDR(aroscbase, name))(args)
27 #endif /* _SYSCALL_H_ */