Mercurial > mplayer.hg
annotate loader/wine/poppack.h @ 28738:730912eb74d3
Fix braindead and broken way to calculate abase, fixes regression tests on
big-endian systems.
author | reimar |
---|---|
date | Sun, 01 Mar 2009 11:33:10 +0000 |
parents | a8ea87c71d18 |
children |
rev | line source |
---|---|
26045 | 1 #ifdef MPLAYER_PSHPACK_H |
2 #undef MPLAYER_PSHPACK_H | |
1 | 3 |
21290
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
1
diff
changeset
|
4 #if (defined(__GNUC__) || defined(__SUNPRO_C)) && !defined(__APPLE__) |
1 | 5 #pragma pack() |
21290
efc774a1e5a4
fix compilation for win32 dll codec support for intel osx
nplourde
parents:
1
diff
changeset
|
6 #elif defined(__SUNPRO_CC) || defined(__APPLE__) |
1 | 7 #warning "Assumes default alignment is 4" |
8 #pragma pack(4) | |
9 #elif !defined(RC_INVOKED) | |
10 #error "Restoration of the previous alignment isn't supported by the compiler" | |
11 #endif /* defined(__GNUC__) || defined(__SUNPRO_C) ; !defined(RC_INVOKED) */ | |
12 | |
26045 | 13 #else /* MPLAYER_PSHPACK_H */ |
1 | 14 #error "Popping alignment isn't possible since no alignment has been pushed" |
26045 | 15 #endif /* MPLAYER_PSHPACK_H */ |