mfbt/double-conversion/use-StandardInteger.patch

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mfbt/double-conversion/use-StandardInteger.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h
     1.5 +index cd3e330..bdc7d4b 100644
     1.6 +--- a/mfbt/double-conversion/utils.h
     1.7 ++++ b/mfbt/double-conversion/utils.h
     1.8 +@@ -74,23 +74,7 @@
     1.9 + #endif
    1.10 + 
    1.11 + 
    1.12 +-#if defined(_WIN32) && !defined(__MINGW32__)
    1.13 +-
    1.14 +-typedef signed char int8_t;
    1.15 +-typedef unsigned char uint8_t;
    1.16 +-typedef short int16_t;  // NOLINT
    1.17 +-typedef unsigned short uint16_t;  // NOLINT
    1.18 +-typedef int int32_t;
    1.19 +-typedef unsigned int uint32_t;
    1.20 +-typedef __int64 int64_t;
    1.21 +-typedef unsigned __int64 uint64_t;
    1.22 +-// intptr_t and friends are defined in crtdefs.h through stdio.h.
    1.23 +-
    1.24 +-#else
    1.25 +-
    1.26 +-#include <stdint.h>
    1.27 +-
    1.28 +-#endif
    1.29 ++#include <stdint.h>
    1.30 + 
    1.31 + // The following macro works on both 32 and 64-bit platforms.
    1.32 + // Usage: instead of writing 0x1234567890123456

mercurial