Ignore:
Timestamp:
Mar 9, 2008, 7:22:52 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Updated the Mac OS X port, thanks to Julian Mayer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/system.h

    r90 r97  
    1111#define __SYS__
    1212
    13 
    14 #ifdef WORDS_BIGENDIAN
    15   #define BIG_ENDIANS
    16 #else
    17   #define LITTLE_ENDIANS
    18 #endif
    19 
     13#include <SDL.h>
    2014
    2115#include <unistd.h>
     
    2721   ((( ((uint32_t)(x)) )&0x0000ff00)<<8)|(( ((uint32_t)(x)) )<<24))
    2822
    29 #if defined BIG_ENDIANS
     23#if SDL_BYTEORDER == SDL_BIG_ENDIAN
    3024#define LONG int32_t
    3125#define uint16_to_intel(x) uint16_swap(x)
Note: See TracChangeset for help on using the changeset viewer.