mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-14 19:27:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
29
mfbt/double-conversion/use-StandardInteger.patch
Normal file
29
mfbt/double-conversion/use-StandardInteger.patch
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h
|
||||
index cd3e330..bdc7d4b 100644
|
||||
--- a/mfbt/double-conversion/utils.h
|
||||
+++ b/mfbt/double-conversion/utils.h
|
||||
@@ -74,23 +74,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
-#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
-
|
||||
-typedef signed char int8_t;
|
||||
-typedef unsigned char uint8_t;
|
||||
-typedef short int16_t; // NOLINT
|
||||
-typedef unsigned short uint16_t; // NOLINT
|
||||
-typedef int int32_t;
|
||||
-typedef unsigned int uint32_t;
|
||||
-typedef __int64 int64_t;
|
||||
-typedef unsigned __int64 uint64_t;
|
||||
-// intptr_t and friends are defined in crtdefs.h through stdio.h.
|
||||
-
|
||||
-#else
|
||||
-
|
||||
-#include <stdint.h>
|
||||
-
|
||||
-#endif
|
||||
+#include <stdint.h>
|
||||
|
||||
// The following macro works on both 32 and 64-bit platforms.
|
||||
// Usage: instead of writing 0x1234567890123456
|
||||
Loading…
Add table
Add a link
Reference in a new issue