[Amizilla-cvs] amizilla/xpcom/obsolete nsFileSpec.cpp,1.1.1.1,1.2
Brought to you by:
maxlarsson
From: Jeff S. <jsh...@us...> - 2004-10-11 21:16:36
|
Update of /cvsroot/amizilla/amizilla/xpcom/obsolete In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2241 Modified Files: nsFileSpec.cpp Log Message: AmigaOS defines. Index: nsFileSpec.cpp =================================================================== RCS file: /cvsroot/amizilla/amizilla/xpcom/obsolete/nsFileSpec.cpp,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** nsFileSpec.cpp 22 Jun 2003 11:43:34 -0000 1.1.1.1 --- nsFileSpec.cpp 11 Oct 2004 21:16:23 -0000 1.2 *************** *** 420,424 **** #endif ! #if (defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2) || defined(XP_BEOS)) //---------------------------------------------------------------------------------------- --- 420,424 ---- #endif ! #if (defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2) || defined(XP_BEOS)|| defined(XP_AMIGAOS)) //---------------------------------------------------------------------------------------- *************** *** 494,498 **** } // nsFileSpecHelpers::MakeAllDirectories ! #endif // XP_UNIX || XP_WIN || XP_OS2 || XP_BEOS #if 0 --- 494,498 ---- } // nsFileSpecHelpers::MakeAllDirectories ! #endif // XP_UNIX || XP_WIN || XP_OS2 || XP_BEOS || XP_AMIGAOS #if 0 *************** *** 507,512 **** #elif defined(XP_BEOS) #include "nsFileSpecBeOS.cpp" // BeOS-specific implementations ! #elif defined(XP_UNIX) || defined(XP_MACOSX) #include "nsFileSpecUnix.cpp" // Unix-specific implementations #elif defined(XP_OS2) #include "nsFileSpecOS2.cpp" // OS/2-specific implementations --- 507,514 ---- #elif defined(XP_BEOS) #include "nsFileSpecBeOS.cpp" // BeOS-specific implementations ! #elif defined(XP_UNIX) || defined(XP_MACOSX) #include "nsFileSpecUnix.cpp" // Unix-specific implementations + #elif defined(XP_AMIGAOS) + #include "nsFileSpecAmigaOS.cpp" //AmigaOS-specific implementations #elif defined(XP_OS2) #include "nsFileSpecOS2.cpp" // OS/2-specific implementations *************** *** 745,749 **** #endif ! #if (defined XP_UNIX || defined XP_BEOS) //---------------------------------------------------------------------------------------- nsFilePath::nsFilePath(const nsFileSpec& inOther) --- 747,751 ---- #endif ! #if (defined XP_UNIX || defined XP_BEOS || defined XP_AMIGAOS) //---------------------------------------------------------------------------------------- nsFilePath::nsFilePath(const nsFileSpec& inOther) *************** *** 760,764 **** } ! #if (defined XP_UNIX || defined XP_BEOS) //---------------------------------------------------------------------------------------- void nsFilePath::operator = (const nsFileSpec& inOther) --- 762,766 ---- } ! #if (defined XP_UNIX || defined XP_BEOS || defined XP_AMIGAOS) //---------------------------------------------------------------------------------------- void nsFilePath::operator = (const nsFileSpec& inOther) *************** *** 980,984 **** //======================================================================================== ! #if (defined XP_UNIX || defined XP_BEOS) //---------------------------------------------------------------------------------------- nsFileSpec::nsFileSpec(const nsFilePath& inPath) --- 982,986 ---- //======================================================================================== ! #if (defined XP_UNIX || defined XP_BEOS || defined XP_AMIGAOS) //---------------------------------------------------------------------------------------- nsFileSpec::nsFileSpec(const nsFilePath& inPath) *************** *** 999,1003 **** #endif //XP_UNIX ! #if (defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2) || defined(XP_BEOS)) //---------------------------------------------------------------------------------------- nsFileSpec::nsFileSpec(const nsFileSpec& inSpec) --- 1001,1005 ---- #endif //XP_UNIX ! #if (defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2) || defined(XP_BEOS) || defined(XP_AMIGAOS) ) //---------------------------------------------------------------------------------------- nsFileSpec::nsFileSpec(const nsFileSpec& inSpec) *************** *** 1092,1095 **** --- 1094,1100 ---- #define DIR_STRCMP _stricmp #endif + #elif defined(XP_AMIGAOS) + #define DIR_SEPARATOR '/' + #define DIR_STRCMP stricmp #else #define DIR_SEPARATOR '/' |