fix endianes problems..... works now on sparc solaris nicely.. :)

SVN revision: 2330
This commit is contained in:
Carsten Haitzler 2000-03-26 00:10:45 +00:00
parent bdafe05ca0
commit bde5637a51
1 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
#ifndef WORDS_BIGENDIAN
#define A_VAL(p) ((DATA8 *)(p))[3]
#define R_VAL(p) ((DATA8 *)(p))[2]
#define G_VAL(p) ((DATA8 *)(p))[1]
#define B_VAL(p) ((DATA8 *)(p))[0]
#define A_VAL(p) ((DATA8 *)(p))[0]
#define R_VAL(p) ((DATA8 *)(p))[1]
#define G_VAL(p) ((DATA8 *)(p))[2]
#define B_VAL(p) ((DATA8 *)(p))[3]
#else