mfbt/double-conversion/use-StandardInteger.patch

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h
michael@0 2 index cd3e330..bdc7d4b 100644
michael@0 3 --- a/mfbt/double-conversion/utils.h
michael@0 4 +++ b/mfbt/double-conversion/utils.h
michael@0 5 @@ -74,23 +74,7 @@
michael@0 6 #endif
michael@0 7
michael@0 8
michael@0 9 -#if defined(_WIN32) && !defined(__MINGW32__)
michael@0 10 -
michael@0 11 -typedef signed char int8_t;
michael@0 12 -typedef unsigned char uint8_t;
michael@0 13 -typedef short int16_t; // NOLINT
michael@0 14 -typedef unsigned short uint16_t; // NOLINT
michael@0 15 -typedef int int32_t;
michael@0 16 -typedef unsigned int uint32_t;
michael@0 17 -typedef __int64 int64_t;
michael@0 18 -typedef unsigned __int64 uint64_t;
michael@0 19 -// intptr_t and friends are defined in crtdefs.h through stdio.h.
michael@0 20 -
michael@0 21 -#else
michael@0 22 -
michael@0 23 -#include <stdint.h>
michael@0 24 -
michael@0 25 -#endif
michael@0 26 +#include <stdint.h>
michael@0 27
michael@0 28 // The following macro works on both 32 and 64-bit platforms.
michael@0 29 // Usage: instead of writing 0x1234567890123456

mercurial