diff options
author | pixel <pixel> | 2003-02-10 12:45:29 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-02-10 12:45:29 +0000 |
commit | 0ddf2fc631fe6db08eed31c9a21438e2829ca024 (patch) | |
tree | b5c8fd1a7f3cf0e16db573b75a4b88f5dfb99f2b /lib/Image.cc | |
parent | f02d2dd89ee509ebf91c80c2028313349e385f16 (diff) |
Whoups, daily commit...
Diffstat (limited to 'lib/Image.cc')
-rw-r--r-- | lib/Image.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Image.cc b/lib/Image.cc index a0ece1b..6b698ae 100644 --- a/lib/Image.cc +++ b/lib/Image.cc @@ -44,6 +44,9 @@ void Image::SetPixel(unsigned int px, unsigned int py, Color c) { #ifndef WORDS_BIGENDIAN #define WORDS_BIGENDIAN 0 +#else +#undef WORDS_BIGENDIAN +#define WORDS_BIGENDIAN 1 #endif bool Image::Prepare(unsigned int f) { |