diff options
author | pixel <pixel> | 2004-07-16 15:04:52 +0000 |
---|---|---|
committer | pixel <pixel> | 2004-07-16 15:04:52 +0000 |
commit | 1a39ba55a9c112df610b5a06d4044dd3ab6331ab (patch) | |
tree | fd57e4eb933883781be72cdc92e8156bd492eae9 /include | |
parent | 07a9ac6cac63fbabf1aba79d949d52fc6782840a (diff) |
Structuring mogltk into PSX-Bundle, and commiting latest changes
Diffstat (limited to 'include')
-rw-r--r-- | include/generic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/generic.h b/include/generic.h index 6276662..fbf2007 100644 --- a/include/generic.h +++ b/include/generic.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: generic.h,v 1.28 2004-05-03 13:04:57 pixel Exp $ */ +/* $Id: generic.h,v 1.29 2004-07-16 15:04:52 pixel Exp $ */ #ifndef __GENERIC_H__ #define __GENERIC_H__ @@ -113,12 +113,12 @@ char ** split(char * s, char t); #ifdef _WIN32 #define tolittle(x) x -static inline Uint32 tobig(Uint32 x) { +static Uint32 tobig(Uint32 x) { return (x >> 24) | ((x >> 8) & 0x0000ff00) | ((x << 8) & 0x00ff0000) | (x << 24); } #else #define tolittle(x) x -static inline Uint32 tobig(Uint32 x) { +static Uint32 tobig(Uint32 x) { return (x >> 24) | ((x >> 8) & 0x0000ff00) | ((x << 8) & 0x00ff0000) | (x << 24); } #endif |