Mercurial > mplayer.hg
annotate loader/wine/poppack.h @ 21950:647f3be495eb
removed unused variables; replaced wrong call to realloc() with calloc() in vc1 probing code
author | nicodvb |
---|---|
date | Sat, 20 Jan 2007 13:06:17 +0000 |
parents | efc774a1e5a4 |
children | c98c9e7f3bd0 |
rev | line source |
---|---|
1 | 1 #ifdef __WINE_PSHPACK_H |
2 #undef __WINE_PSHPACK_H | |
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 | |
13 #else /* defined(__WINE_PSHPACK_H) */ | |
14 #error "Popping alignment isn't possible since no alignment has been pushed" | |
15 #endif /* defined(__WINE_PSHPACK_H) */ |