зеркало из https://github.com/mozilla/gecko-dev.git
BeOS changes
This commit is contained in:
Родитель
b62c5954a7
Коммит
1a6cdf6b8f
|
@ -160,7 +160,7 @@
|
|||
#define PR_WORDS_PER_DWORD_LOG2 1L
|
||||
#endif /* defined(_WINDOWS) && !defined(_WIN32) */
|
||||
|
||||
#elif defined(XP_UNIX)
|
||||
#elif defined(XP_UNIX) || defined(XP_BEOS)
|
||||
|
||||
#error "This file is supposed to be auto-generated on UNIX platforms, but the"
|
||||
#error "static version for Mac and Windows platforms is being used."
|
||||
|
@ -168,7 +168,7 @@
|
|||
|
||||
#else
|
||||
|
||||
#error "Must define one of XP_MAC, XP_PC or XP_UNIX"
|
||||
#error "Must define one of XP_MAC, XP_PC, XP_UNIX, or XP_BEOS"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
# define CURRENT_DIR "c:\\"
|
||||
# define POPEN _popen
|
||||
# define PCLOSE _pclose
|
||||
#elif defined(XP_UNIX)
|
||||
#elif defined(XP_UNIX) || defined(XP_BEOS)
|
||||
# include <strings.h>
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
|
@ -246,7 +246,7 @@ js_isAbsolute(const char *name)
|
|||
return (strlen(name)>1)?((name[1]==':')?JS_TRUE:JS_FALSE):JS_FALSE;
|
||||
#else
|
||||
return (name[0]
|
||||
# ifdef XP_UNIX
|
||||
# if defined(XP_UNIX) || defined(XP_BEOS)
|
||||
==
|
||||
# else
|
||||
!=
|
||||
|
|
|
@ -49,6 +49,11 @@ JS_END_EXTERN_C
|
|||
|
||||
#endif /* XP_MAC */
|
||||
|
||||
#ifdef XP_BEOS
|
||||
#define JS_HAVE_LONG_LONG
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef XP_UNIX
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче