b8a23f9e49
Fixed build output look in several Makefiles Fixed code to include autoconf.h Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
36 lines
402 B
C
36 lines
402 B
C
|
|
|
|
|
|
#ifndef __DEFS_H__
|
|
#define __DEFS_H__
|
|
|
|
#include "rockmacros.h"
|
|
|
|
#ifdef ROCKBOX_LITTLE_ENDIAN
|
|
#define LO 0
|
|
#define HI 1
|
|
#else
|
|
#define LO 1
|
|
#define HI 0
|
|
#endif
|
|
|
|
|
|
typedef unsigned char byte;
|
|
|
|
typedef unsigned char un8;
|
|
typedef unsigned short un16;
|
|
typedef unsigned int un32;
|
|
|
|
typedef signed char n8;
|
|
typedef signed short n16;
|
|
typedef signed int n32;
|
|
|
|
typedef un16 word;
|
|
typedef word addr;
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|