Changeset 16402 in vbox for trunk/src/libs/xpcom18a4/xpcom
- Timestamp:
- Jan 30, 2009 12:59:10 AM (16 years ago)
- Location:
- trunk/src/libs/xpcom18a4/xpcom/io
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/io/nsAppFileLocationProvider.cpp
r16394 r16402 49 49 #include "nsCRT.h" 50 50 51 #if (defined(XP_MAC) || defined(XP_MACOSX)) && (!defined(VBOX) || !defined(RT_ARCH_AMD64))51 #if (defined(XP_MAC) || defined(XP_MACOSX)) && !defined(VBOX_MACOSX_FOLLOWS_UNIX_IO) 52 52 #include <Folders.h> 53 53 #include <Script.h> … … 148 148 *persistant = PR_TRUE; 149 149 150 #if (defined (XP_MAC) || defined(XP_MACOSX)) && (!defined(VBOX) || !defined(RT_ARCH_AMD64))150 #if (defined (XP_MAC) || defined(XP_MACOSX)) && !defined(VBOX_MACOSX_FOLLOWS_UNIX_IO) 151 151 short foundVRefNum; 152 152 long foundDirID; … … 212 212 rv = localFile->AppendRelativeNativePath(PLUGINS_DIR_NAME); 213 213 } 214 #if (defined(XP_MAC) || defined(XP_MACOSX)) && (!defined(VBOX) || !defined(RT_ARCH_AMD64))214 #if (defined(XP_MAC) || defined(XP_MACOSX)) && !defined(VBOX_MACOSX_FOLLOWS_UNIX_IO) 215 215 else if (nsCRT::strcmp(prop, NS_MACOSX_USER_PLUGIN_DIR) == 0) 216 216 { … … 350 350 rv = directoryService->Get(prop, NS_GET_IID(nsILocalFile), getter_AddRefs(localDir)); 351 351 if (NS_FAILED(rv)) return rv; 352 #elif defined(XP_MACOSX) && (!defined(VBOX) || !defined(RT_ARCH_AMD64))352 #elif defined(XP_MACOSX) && !defined(VBOX_MACOSX_FOLLOWS_UNIX_IO) 353 353 FSRef fsRef; 354 354 OSErr err = ::FSFindFolder(kUserDomain, kDomainLibraryFolderType, kCreateFolder, &fsRef); … … 585 585 if (!nsCRT::strcmp(prop, NS_APP_PLUGINS_DIR_LIST)) 586 586 { 587 #if (defined(XP_MAC) || defined(XP_MACOSX)) && (!defined(VBOX) || !defined(RT_ARCH_AMD64))587 #if (defined(XP_MAC) || defined(XP_MACOSX)) && !defined(VBOX_MACOSX_FOLLOWS_UNIX_IO) 588 588 static const char* osXKeys[] = { NS_APP_PLUGINS_DIR, NS_MACOSX_USER_PLUGIN_DIR, NS_MACOSX_LOCAL_PLUGIN_DIR, nsnull }; 589 589 static const char* os9Keys[] = { NS_APP_PLUGINS_DIR, NS_MAC_CLASSIC_PLUGIN_DIR, nsnull }; -
trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFile.h
r16393 r16402 71 71 #ifdef XP_WIN 72 72 #include "nsLocalFileWin.h" 73 #elif defined(XP_MACOSX) && (!defined(VBOX) || !defined(RT_ARCH_AMD64))73 #elif defined(XP_MACOSX) && !defined(VBOX_MACOSX_FOLLOWS_UNIX_IO) 74 74 #include "nsLocalFileOSX.h" 75 75 #elif defined(XP_MAC) -
trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileCommon.cpp
r16395 r16402 62 62 } 63 63 64 #if (!defined(XP_MAC) && !defined(XP_MACOSX)) || (defined(VBOX) && defined(RT_ARCH_AMD64))64 #if (!defined(XP_MAC) && !defined(XP_MACOSX)) || defined(VBOX_MACOSX_FOLLOWS_UNIX_IO) 65 65 NS_IMETHODIMP 66 66 nsLocalFile::InitWithFile(nsILocalFile *aFile)
Note:
See TracChangeset
for help on using the changeset viewer.