[Amizilla-cvs] amizilla/netwerk/protocol/http/src nsHttpHandler.cpp,1.1.1.2,1.2
Brought to you by:
maxlarsson
From: Jeff S. <jsh...@us...> - 2004-10-11 21:03:04
|
Update of /cvsroot/amizilla/amizilla/netwerk/protocol/http/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31125 Modified Files: nsHttpHandler.cpp Log Message: AmigaOS defines and CPU determination. Index: nsHttpHandler.cpp =================================================================== RCS file: /cvsroot/amizilla/amizilla/netwerk/protocol/http/src/nsHttpHandler.cpp,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -C2 -d -r1.1.1.2 -r1.2 *** nsHttpHandler.cpp 29 Jun 2004 11:08:31 -0000 1.1.1.2 --- nsHttpHandler.cpp 11 Oct 2004 21:02:23 -0000 1.2 *************** *** 67,70 **** --- 67,74 ---- #endif + #ifdef XP_AMIGAOS + #include <exec/execbase.h> + #endif + #ifdef DEBUG // defined by the socket transport service while active *************** *** 597,600 **** --- 601,606 ---- #elif defined(XP_BEOS) "BeOS" + #elif defined(XP_AMIGAOS) + "AmigaOS" #elif !defined(MOZ_X11) "?" *************** *** 661,664 **** --- 667,676 ---- else mOscpu.Adopt(nsCRT::strdup("PPC")); + #elif defined(XP_AMIGAOS) + extern struct ExecBase *SysBase; + if (SysBase->AttnFlags & (AFF_68010 | AFF_68020 | AFF_68030 | AFF_68040 | AFF_68060)) + mOscpu.Adopt(nsCRT::strdup("m68k")); + else + mOscpu.Adopt(nsCRT::strdup("PPC")); #elif defined (XP_UNIX) || defined (XP_BEOS) struct utsname name; |