compiler.h (c9502f4914c505a2cf8476202fc7d24304cca959) | compiler.h (9d16e93dc25025b29d3450537d180fd6e7c72e00) |
---|---|
1/* 2 * Keep all the ugly #ifdef for system stuff here 3 */ 4 5#ifndef __COMPILER_H__ 6#define __COMPILER_H__ 7 8#include <stddef.h> --- 34 unchanged lines hidden (view full) --- 43 44#ifdef __linux__ 45# include <endian.h> 46# include <byteswap.h> 47#elif defined(__MACH__) || defined(__FreeBSD__) 48# include <machine/endian.h> 49typedef unsigned long ulong; 50#endif | 1/* 2 * Keep all the ugly #ifdef for system stuff here 3 */ 4 5#ifndef __COMPILER_H__ 6#define __COMPILER_H__ 7 8#include <stddef.h> --- 34 unchanged lines hidden (view full) --- 43 44#ifdef __linux__ 45# include <endian.h> 46# include <byteswap.h> 47#elif defined(__MACH__) || defined(__FreeBSD__) 48# include <machine/endian.h> 49typedef unsigned long ulong; 50#endif |
51#include <time.h> |
|
51 52typedef uint8_t __u8; 53typedef uint16_t __u16; 54typedef uint32_t __u32; 55typedef unsigned int uint; 56 57#define uswap_16(x) \ 58 ((((x) & 0xff00) >> 8) | \ --- 79 unchanged lines hidden --- | 52 53typedef uint8_t __u8; 54typedef uint16_t __u16; 55typedef uint32_t __u32; 56typedef unsigned int uint; 57 58#define uswap_16(x) \ 59 ((((x) & 0xff00) >> 8) | \ --- 79 unchanged lines hidden --- |