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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 #ifdef __WINE_PSHPACK_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 #undef __WINE_PSHPACK_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 #warning "Assumes default alignment is 4"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 #pragma pack(4)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 #elif !defined(RC_INVOKED)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #error "Restoration of the previous alignment isn't supported by the compiler"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 #endif /* defined(__GNUC__) || defined(__SUNPRO_C) ; !defined(RC_INVOKED) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 #else /* defined(__WINE_PSHPACK_H) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #error "Popping alignment isn't possible since no alignment has been pushed"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 #endif /* defined(__WINE_PSHPACK_H) */