Lines 19-30
Link Here
|
19 |
#ifndef __SYS_H__ |
19 |
#ifndef __SYS_H__ |
20 |
#define __SYS_H__ |
20 |
#define __SYS_H__ |
21 |
|
21 |
|
22 |
typedef unsigned char uint8; |
22 |
#include <stdint.h> |
23 |
typedef signed char int8; |
23 |
|
24 |
typedef unsigned short uint16; |
24 |
typedef uint8_t uint8; |
25 |
typedef signed short int16; |
25 |
typedef int8_t int8; |
26 |
typedef unsigned long uint32; |
26 |
typedef uint16_t uint16; |
27 |
typedef signed long int32; |
27 |
typedef int16_t int16; |
|
|
28 |
typedef uint32_t uint32; |
29 |
typedef int32_t int32; |
28 |
|
30 |
|
29 |
inline uint16 READ_BE_UINT16(const void *ptr) { |
31 |
inline uint16 READ_BE_UINT16(const void *ptr) { |
30 |
const uint8 *b = (const uint8 *)ptr; |
32 |
const uint8 *b = (const uint8 *)ptr; |