use-StandardInteger.patch 761 B

123456789101112131415161718192021222324252627282930
  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
  7. -#if defined(_WIN32) && !defined(__MINGW32__)
  8. -
  9. -typedef signed char int8_t;
  10. -typedef unsigned char uint8_t;
  11. -typedef short int16_t; // NOLINT
  12. -typedef unsigned short uint16_t; // NOLINT
  13. -typedef int int32_t;
  14. -typedef unsigned int uint32_t;
  15. -typedef __int64 int64_t;
  16. -typedef unsigned __int64 uint64_t;
  17. -// intptr_t and friends are defined in crtdefs.h through stdio.h.
  18. -
  19. -#else
  20. -
  21. -#include <stdint.h>
  22. -
  23. -#endif
  24. +#include <stdint.h>
  25. // The following macro works on both 32 and 64-bit platforms.
  26. // Usage: instead of writing 0x1234567890123456