зеркало из https://github.com/mozilla/pjs.git
Bug 621026. Define JS_64BIT for some more compilers. r=mrbkap
This commit is contained in:
Родитель
24ed234ba5
Коммит
aed4548486
|
@ -323,11 +323,21 @@
|
|||
# define JS_64BIT
|
||||
# endif
|
||||
#elif defined(__GNUC__)
|
||||
# ifdef __x86_64__
|
||||
/* Additional GCC defines are when running on Solaris, AIX, and HPUX */
|
||||
# if defined(__x86_64__) || defined(__sparcv9) || \
|
||||
defined(__64BIT__) || defined(__LP64__)
|
||||
# define JS_64BIT
|
||||
# endif
|
||||
#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||
# ifdef __x86_64
|
||||
#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) /* Sun Studio C/C++ */
|
||||
# if defined(__x86_64) || defined(__sparcv9)
|
||||
# define JS_64BIT
|
||||
# endif
|
||||
#elif defined(__xlc__) || defined(__xlC__) /* IBM XL C/C++ */
|
||||
# if defined(__64BIT__)
|
||||
# define JS_64BIT
|
||||
# endif
|
||||
#elif defined(__HP_cc) || defined(__HP_aCC) /* HP-UX cc/aCC */
|
||||
# if defined(__LP64__)
|
||||
# define JS_64BIT
|
||||
# endif
|
||||
#else
|
||||
|
|
Загрузка…
Ссылка в новой задаче