зеркало из https://github.com/mozilla/gecko-dev.git
OS/2 Tinderbox break
OK will someone WAKE UP and realize that we need XP_WIN defined in the build? XP_PC does NOT mean XP_WIN. WE NEED XP_WIN IN THE BUILD SOMEONE TURN IT ON IN THE MAKEFILE!
This commit is contained in:
Родитель
20a9441306
Коммит
6ddfa37f7e
|
@ -75,7 +75,9 @@
|
|||
#endif
|
||||
|
||||
// define home directory
|
||||
#ifdef XP_PC
|
||||
#ifdef XP_OS2
|
||||
#define HOME_DIR NS_OS2_DIR
|
||||
#elif defined (XP_PC)
|
||||
#define HOME_DIR NS_WIN_HOME_DIR
|
||||
#elif defined (XP_MAC)
|
||||
#define HOME_DIR NS_MAC_HOME_DIR
|
||||
|
@ -685,7 +687,7 @@ nsDirectoryService::GetFile(const char *prop, PRBool *persistent, nsIFile **_ret
|
|||
nsCOMPtr<nsIFile> homeDir;
|
||||
GetFile(HOME_DIR, persistent, getter_AddRefs(homeDir));
|
||||
|
||||
#ifdef XP_PC
|
||||
#if defined(XP_PC) && !defined(XP_OS2)
|
||||
PRBool dirExists = PR_FALSE;
|
||||
if (homeDir)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче