mfbt/double-conversion/use-StandardInteger.patch

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial