Took out GNUC ifdef. The inline macros should take care of the register
allocation.
This commit is contained in:
parent
7f84c8e269
commit
b0ba6083b0
|
@ -17,13 +17,6 @@ int rename(const char *old,const char *new)
|
|||
if((new=__amigapath(new))!=NULL)
|
||||
{
|
||||
#endif
|
||||
|
||||
#if defined (__GNUC__)
|
||||
#undef DOS_BASE_NAME
|
||||
#define DOS_BASE_NAME dosbase
|
||||
register APTR dosbase __asm("a6") = DOSBase;
|
||||
#endif
|
||||
|
||||
BPTR lnew=Lock((char *)new,SHARED_LOCK);
|
||||
if(lnew) {
|
||||
BPTR lold=Lock((char *)old,SHARED_LOCK);
|
||||
|
|
Loading…
Reference in New Issue