1/*
2 $License:
3    Copyright (C) 2011 InvenSense Corporation, All Rights Reserved.
4 $
5 */
6#ifndef STDINT_INVENSENSE_H
7#define STDINT_INVENSENSE_H
8
9#ifndef WIN32
10
11#ifdef __KERNEL__
12#include <linux/types.h>
13#else
14#include <stdint.h>
15#endif
16
17#else
18
19#include <windows.h>
20
21typedef signed char int8_t;
22typedef short int16_t;
23typedef long int32_t;
24typedef long long int64_t;
25
26typedef unsigned char uint8_t;
27typedef unsigned short uint16_t;
28typedef unsigned long uint32_t;
29typedef unsigned long long uint64_t;
30
31typedef int int_fast8_t;
32typedef int int_fast16_t;
33typedef long int_fast32_t;
34
35typedef unsigned int uint_fast8_t;
36typedef unsigned int uint_fast16_t;
37typedef unsigned long uint_fast32_t;
38
39#endif
40
41#endif // STDINT_INVENSENSE_H
42