stdint_invensense.h 791 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #ifndef WIN32
  9. #if defined __KERNEL__
  10. #include <linux/types.h>
  11. #elif defined EMPL
  12. #include <stdint.h>
  13. #include <string.h>
  14. #else
  15. #include <stdint.h>
  16. #endif
  17. #else
  18. #include <windows.h>
  19. typedef signed char int8_t;
  20. typedef short int16_t;
  21. typedef long int32_t;
  22. typedef long long int64_t;
  23. typedef unsigned char uint8_t;
  24. typedef unsigned short uint16_t;
  25. typedef unsigned long uint32_t;
  26. typedef unsigned long long uint64_t;
  27. typedef int int_fast8_t;
  28. typedef int int_fast16_t;
  29. typedef long int_fast32_t;
  30. typedef unsigned int uint_fast8_t;
  31. typedef unsigned int uint_fast16_t;
  32. typedef unsigned long uint_fast32_t;
  33. #endif
  34. #endif // STDINT_INVENSENSE_H