node/deps/v8/include/v8stdint.h

34 lines
729 B
C
Raw Normal View History

2012-02-01 10:35:04 +08:00
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
2010-11-20 02:49:09 +08:00
// Load definitions of standard types.
#ifndef V8STDINT_H_
#define V8STDINT_H_
2012-02-01 10:35:04 +08:00
#include <stddef.h>
2010-11-20 02:49:09 +08:00
#include <stdio.h>
2013-10-23 06:14:25 +08:00
#include "v8config.h"
#if V8_OS_WIN && !V8_CC_MINGW
2010-11-20 02:49:09 +08:00
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t; // NOLINT
typedef unsigned short uint16_t; // NOLINT
typedef int int32_t;
typedef unsigned int uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
// intptr_t and friends are defined in crtdefs.h through stdio.h.
#else
2013-10-23 06:14:25 +08:00
#include <stdint.h> // NOLINT
2010-11-20 02:49:09 +08:00
#endif
#endif // V8STDINT_H_