annotate loader/wine/poppack.h @ 25462:3e033aabc9d2

Combine common code for check whether chapter is available.
author ulion
date Sat, 22 Dec 2007 06:20:48 +0000
parents c98c9e7f3bd0
children f1b223278b20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24422
c98c9e7f3bd0 Remove leading underscores from multiple inclusion guards,
diego
parents: 21290
diff changeset
1 #ifdef WINE_PSHPACK_H
c98c9e7f3bd0 Remove leading underscores from multiple inclusion guards,
diego
parents: 21290
diff changeset
2 #undef WINE_PSHPACK_H
1
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
24422
c98c9e7f3bd0 Remove leading underscores from multiple inclusion guards,
diego
parents: 21290
diff changeset
13 #else /* defined(WINE_PSHPACK_H) */
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #error "Popping alignment isn't possible since no alignment has been pushed"
24422
c98c9e7f3bd0 Remove leading underscores from multiple inclusion guards,
diego
parents: 21290
diff changeset
15 #endif /* defined(WINE_PSHPACK_H) */