Add big endian define (hack for Sun)
This commit is contained in:
parent
82566dabd2
commit
21323b964c
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@
|
|||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
#ifndef __BYTE_ORDER__
|
||||
#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
|
||||
#endif
|
||||
|
||||
typedef struct RenderBackend_Surface
|
||||
{
|
||||
unsigned char *pixels;
|
||||
|
|
Loading…
Add table
Reference in a new issue