Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
729 B

  1. // Copyright 2012 the V8 project authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // Load definitions of standard types.
  5. #ifndef V8STDINT_H_
  6. #define V8STDINT_H_
  7. #include <stddef.h>
  8. #include <stdio.h>
  9. #include "v8config.h"
  10. #if V8_OS_WIN && !V8_CC_MINGW
  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. #else
  21. #include <stdint.h> // NOLINT
  22. #endif
  23. #endif // V8STDINT_H_