Home | History | Annotate | Download | only in include
      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 
     21 typedef signed char int8_t;
     22 typedef short int16_t;
     23 typedef long int32_t;
     24 typedef long long int64_t;
     25 
     26 typedef unsigned char uint8_t;
     27 typedef unsigned short uint16_t;
     28 typedef unsigned long uint32_t;
     29 typedef unsigned long long uint64_t;
     30 
     31 typedef int int_fast8_t;
     32 typedef int int_fast16_t;
     33 typedef long int_fast32_t;
     34 
     35 typedef unsigned int uint_fast8_t;
     36 typedef unsigned int uint_fast16_t;
     37 typedef unsigned long uint_fast32_t;
     38 
     39 #endif
     40 
     41 #endif // STDINT_INVENSENSE_H
     42