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 5// Load definitions of standard types. 6 7#ifndef V8STDINT_H_ 8#define V8STDINT_H_ 9 10#include <stddef.h> 11#include <stdio.h> 12 13#include "v8config.h" 14 15#if V8_OS_WIN && !V8_CC_MINGW 16 17typedef signed char int8_t; 18typedef unsigned char uint8_t; 19typedef short int16_t; // NOLINT 20typedef unsigned short uint16_t; // NOLINT 21typedef int int32_t; 22typedef unsigned int uint32_t; 23typedef __int64 int64_t; 24typedef unsigned __int64 uint64_t; 25// intptr_t and friends are defined in crtdefs.h through stdio.h. 26 27#else 28 29#include <stdint.h> // NOLINT 30 31#endif 32 33#endif // V8STDINT_H_ 34