Bug 1363329, Bug 1360321, Don't set PR_ALTERNATE_INT64_TYPEDEF for Android in NSPR; r=wtc
authorJim Chen <nchen@mozilla.com>
Tue, 09 May 2017 12:57:36 +0200
changeset 4724 8cc8b8314f99d6e2edb04801faeb18ba89ab8618
parent 4723 d83c17696e92c3bb8800056400a41b3c492beab7
child 4725 f39f28732459374ed4fa5a5a5b5b03d81c5d5aac
push id243
push userkaie@kuix.de
push dateTue, 09 May 2017 10:57:41 +0000
reviewerswtc
bugs1363329, 1360321
Bug 1363329, Bug 1360321, Don't set PR_ALTERNATE_INT64_TYPEDEF for Android in NSPR; r=wtc
pr/include/prtypes.h
--- a/pr/include/prtypes.h
+++ b/pr/include/prtypes.h
@@ -226,17 +226,17 @@ PR_BEGIN_EXTERN_C
 **
 ** NOTE: NSPR can't use <stdint.h> because C99 requires C++ code to define
 ** __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS to make all the macros
 ** defined in <stdint.h> available. This strange requirement is gone in
 ** C11. When most platforms ignore this C99 requirement, NSPR will be able
 ** to use <stdint.h>. A patch to do that is in NSPR bug 634793.
 */
 
-#if defined(__APPLE__) || defined(__ANDROID__) || defined(__OpenBSD__)
+#if defined(__APPLE__) || defined(__OpenBSD__)
 #define PR_ALTERNATE_INT64_TYPEDEF
 #endif
 
 /************************************************************************
 ** TYPES:       PRUint8
 **              PRInt8
 ** DESCRIPTION:
 **  The int8 types are known to be 8 bits each. There is no type that