Bug 1043108: Update to NSPR_4_10_7_BETA4. Also includes the fix for

bug 1042408.
This commit is contained in:
Wan-Teh Chang 2014-08-06 07:39:02 -07:00
parent 679f3599af
commit d9dfd8b013
6 changed files with 17 additions and 4 deletions

View File

@ -1 +1 @@
NSPR_4_10_7_BETA3
NSPR_4_10_7_BETA4

View File

@ -10,3 +10,4 @@
*/
#error "Do not include this header file."

3
nsprpub/configure vendored
View File

@ -7269,6 +7269,9 @@ $as_echo "$as_me: WARNING: Unknown version of the Microsoft (R) Manifest Tool."
else
$as_echo "#define _X86_ 1" >>confdefs.h
if test -z "$GNU_CC" -a "$MSC_VER" -ge "1700"; then
CFLAGS="$CFLAGS -arch:IA32"
fi
fi
;;
x86_64)

View File

@ -2081,6 +2081,11 @@ tools are selected during the Xcode/Developer Tools installation.])
AC_DEFINE(_AMD64_)
else
AC_DEFINE(_X86_)
if test -z "$GNU_CC" -a "$MSC_VER" -ge "1700"; then
dnl Visual C++ 2012 defaults to -arch:SSE2. Use -arch:IA32
dnl to avoid requiring SSE2.
CFLAGS="$CFLAGS -arch:IA32"
fi
fi
;;
x86_64)

View File

@ -21,6 +21,10 @@
#include <poll.h>
#endif
#if defined(ANDROID)
#include <android/api-level.h>
#endif
/* To get FIONREAD */
#if defined(UNIXWARE)
#include <sys/filio.h>
@ -2709,8 +2713,8 @@ static void* _MD_Unix_mmap64(
} /* _MD_Unix_mmap64 */
#endif /* defined(_PR_NO_LARGE_FILES) || defined(SOLARIS2_5) */
/* Android doesn't have mmap64. */
#if defined(ANDROID)
/* Android <= 19 doesn't have mmap64. */
#if defined(ANDROID) && __ANDROID_API__ <= 19
extern void *__mmap2(void *, size_t, int, int, int, size_t);
#define ANDROID_PAGE_SIZE 4096

View File

@ -28,7 +28,7 @@
*/
static char *compatible_version[] = {
"4.0", "4.0.1", "4.1", "4.1.1", "4.1.2", "4.1.3",
"4.2", "4.2.1", "4.2.2", "4.3", "4.4", " 4.4.1",
"4.2", "4.2.1", "4.2.2", "4.3", "4.4", "4.4.1",
"4.5", "4.5.1",
"4.6", "4.6.1", "4.6.2", "4.6.3", "4.6.4", "4.6.5",
"4.6.6", "4.6.7", "4.6.8",