deepstone

view src/inttypes.h @ 40:1fa939507d8b

fast floating point->int conversion
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 15 Sep 2017 05:00:37 +0300
parents ad6b185723cd
children
line source
1 #ifndef INT_TYPES_H_
2 #define INT_TYPES_H_
4 #if defined(__DOS__) || defined(WIN32)
5 typedef char int8_t;
6 typedef short int16_t;
7 typedef long int32_t;
9 typedef unsigned char uint8_t;
10 typedef unsigned short uint16_t;
11 typedef unsigned long uint32_t;
12 #else
13 #include <stdint.h>
14 #endif
16 #endif /* INT_TYPES_H_ */