Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
11fdd958
Commit
11fdd958
authored
Apr 20, 2006
by
Bill Medland
Committed by
Alexandre Julliard
Apr 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Expand pack nesting from 3 to 15 levels.
parent
80634596
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
445 additions
and
13 deletions
+445
-13
poppack.h
include/poppack.h
+193
-1
pshpack1.h
include/pshpack1.h
+63
-3
pshpack2.h
include/pshpack2.h
+63
-3
pshpack4.h
include/pshpack4.h
+63
-3
pshpack8.h
include/pshpack8.h
+63
-3
No files found.
include/poppack.h
View file @
11fdd958
...
@@ -16,7 +16,199 @@
...
@@ -16,7 +16,199 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#if defined(__WINE_PSHPACK_H3)
#if defined(__WINE_PSHPACK_H15)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H15
# endif
/* Depth == 15 */
# if __WINE_PSHPACK_H14 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H14 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H14 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H14)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H14
# endif
/* Depth == 14 */
# if __WINE_PSHPACK_H13 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H13 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H13 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H13)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H13
# endif
/* Depth == 13 */
# if __WINE_PSHPACK_H12 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H12 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H12 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H12)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H12
# endif
/* Depth == 12 */
# if __WINE_PSHPACK_H11 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H11 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H11 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H11)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H11
# endif
/* Depth == 11 */
# if __WINE_PSHPACK_H10 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H10 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H10 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H10)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H10
# endif
/* Depth == 10 */
# if __WINE_PSHPACK_H9 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H9 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H9 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H9)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H9
# endif
/* Depth == 9 */
# if __WINE_PSHPACK_H8 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H8 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H8 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H8)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H8
# endif
/* Depth == 8 */
# if __WINE_PSHPACK_H7 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H7 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H7 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H7)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H7
# endif
/* Depth == 7 */
# if __WINE_PSHPACK_H6 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H6 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H6 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H6)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H6
# endif
/* Depth == 6 */
# if __WINE_PSHPACK_H5 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H5 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H5 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H5)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H5
# endif
/* Depth == 5 */
# if __WINE_PSHPACK_H4 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H4 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H4 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H4)
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H4
# endif
/* Depth == 4 */
# if __WINE_PSHPACK_H3 == 1
# pragma pack(1)
# elif __WINE_PSHPACK_H3 == 2
# pragma pack(2)
# elif __WINE_PSHPACK_H3 == 8
# pragma pack(8)
# else
# pragma pack(4)
# endif
#elif defined(__WINE_PSHPACK_H3)
# ifndef __WINE_INTERNAL_POPPACK
# ifndef __WINE_INTERNAL_POPPACK
# undef __WINE_PSHPACK_H3
# undef __WINE_PSHPACK_H3
# endif
# endif
...
...
include/pshpack1.h
View file @
11fdd958
...
@@ -16,10 +16,10 @@
...
@@ -16,10 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#if defined(__WINE_PSHPACK_H
3
)
#if defined(__WINE_PSHPACK_H
15
)
/* Depth >
3
*/
/* Depth >
15
*/
# error "Alignment nesting >
3
is not supported"
# error "Alignment nesting >
15
is not supported"
#else
#else
...
@@ -36,6 +36,66 @@
...
@@ -36,6 +36,66 @@
/* Depth == 3 */
/* Depth == 3 */
# define __WINE_INTERNAL_POPPACK
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H4)
# define __WINE_PSHPACK_H4 1
/* Depth == 4 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H5)
# define __WINE_PSHPACK_H5 1
/* Depth == 5 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H6)
# define __WINE_PSHPACK_H6 1
/* Depth == 6 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H7)
# define __WINE_PSHPACK_H7 1
/* Depth == 7 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H8)
# define __WINE_PSHPACK_H8 1
/* Depth == 8 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H9)
# define __WINE_PSHPACK_H9 1
/* Depth == 9 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H10)
# define __WINE_PSHPACK_H10 1
/* Depth == 10 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H11)
# define __WINE_PSHPACK_H11 1
/* Depth == 11 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H12)
# define __WINE_PSHPACK_H12 1
/* Depth == 12 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H13)
# define __WINE_PSHPACK_H13 1
/* Depth == 13 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H14)
# define __WINE_PSHPACK_H14 1
/* Depth == 14 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H15)
# define __WINE_PSHPACK_H15 1
/* Depth == 15 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# endif
# endif
# if defined(_MSC_VER) && (_MSC_VER >= 800)
# if defined(_MSC_VER) && (_MSC_VER >= 800)
...
...
include/pshpack2.h
View file @
11fdd958
...
@@ -16,10 +16,10 @@
...
@@ -16,10 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#if defined(__WINE_PSHPACK_H
3
)
#if defined(__WINE_PSHPACK_H
15
)
/* Depth >
3
*/
/* Depth >
15
*/
# error "Alignment nesting >
3
is not supported"
# error "Alignment nesting >
15
is not supported"
#else
#else
...
@@ -36,6 +36,66 @@
...
@@ -36,6 +36,66 @@
/* Depth == 3 */
/* Depth == 3 */
# define __WINE_INTERNAL_POPPACK
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H4)
# define __WINE_PSHPACK_H4 2
/* Depth == 4 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H5)
# define __WINE_PSHPACK_H5 2
/* Depth == 5 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H6)
# define __WINE_PSHPACK_H6 2
/* Depth == 6 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H7)
# define __WINE_PSHPACK_H7 2
/* Depth == 7 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H8)
# define __WINE_PSHPACK_H8 2
/* Depth == 8 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H9)
# define __WINE_PSHPACK_H9 2
/* Depth == 9 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H10)
# define __WINE_PSHPACK_H10 2
/* Depth == 10 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H11)
# define __WINE_PSHPACK_H11 2
/* Depth == 11 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H12)
# define __WINE_PSHPACK_H12 2
/* Depth == 12 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H13)
# define __WINE_PSHPACK_H13 2
/* Depth == 13 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H14)
# define __WINE_PSHPACK_H14 2
/* Depth == 14 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H15)
# define __WINE_PSHPACK_H15 2
/* Depth == 15 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# endif
# endif
# if defined(_MSC_VER) && (_MSC_VER >= 800)
# if defined(_MSC_VER) && (_MSC_VER >= 800)
...
...
include/pshpack4.h
View file @
11fdd958
...
@@ -16,10 +16,10 @@
...
@@ -16,10 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#if defined(__WINE_PSHPACK_H
3
)
#if defined(__WINE_PSHPACK_H
15
)
/* Depth >
3
*/
/* Depth >
15
*/
# error "Alignment nesting >
3
is not supported"
# error "Alignment nesting >
15
is not supported"
#else
#else
...
@@ -36,6 +36,66 @@
...
@@ -36,6 +36,66 @@
/* Depth == 3 */
/* Depth == 3 */
# define __WINE_INTERNAL_POPPACK
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H4)
# define __WINE_PSHPACK_H4 4
/* Depth == 4 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H5)
# define __WINE_PSHPACK_H5 4
/* Depth == 5 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H6)
# define __WINE_PSHPACK_H6 4
/* Depth == 6 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H7)
# define __WINE_PSHPACK_H7 4
/* Depth == 7 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H8)
# define __WINE_PSHPACK_H8 4
/* Depth == 8 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H9)
# define __WINE_PSHPACK_H9 4
/* Depth == 9 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H10)
# define __WINE_PSHPACK_H10 4
/* Depth == 10 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H11)
# define __WINE_PSHPACK_H11 4
/* Depth == 11 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H12)
# define __WINE_PSHPACK_H12 4
/* Depth == 12 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H13)
# define __WINE_PSHPACK_H13 4
/* Depth == 13 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H14)
# define __WINE_PSHPACK_H14 4
/* Depth == 14 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H15)
# define __WINE_PSHPACK_H15 4
/* Depth == 15 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# endif
# endif
# if defined(_MSC_VER) && (_MSC_VER >= 800)
# if defined(_MSC_VER) && (_MSC_VER >= 800)
...
...
include/pshpack8.h
View file @
11fdd958
...
@@ -16,10 +16,10 @@
...
@@ -16,10 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#if defined(__WINE_PSHPACK_H
3
)
#if defined(__WINE_PSHPACK_H
15
)
/* Depth >
3
*/
/* Depth >
15
*/
# error "Alignment nesting >
3
is not supported"
# error "Alignment nesting >
15
is not supported"
#else
#else
...
@@ -36,6 +36,66 @@
...
@@ -36,6 +36,66 @@
/* Depth == 3 */
/* Depth == 3 */
# define __WINE_INTERNAL_POPPACK
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H4)
# define __WINE_PSHPACK_H4 8
/* Depth == 4 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H5)
# define __WINE_PSHPACK_H5 8
/* Depth == 5 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H6)
# define __WINE_PSHPACK_H6 8
/* Depth == 6 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H7)
# define __WINE_PSHPACK_H7 8
/* Depth == 7 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H8)
# define __WINE_PSHPACK_H8 8
/* Depth == 8 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H9)
# define __WINE_PSHPACK_H9 8
/* Depth == 9 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H10)
# define __WINE_PSHPACK_H10 8
/* Depth == 10 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H11)
# define __WINE_PSHPACK_H11 8
/* Depth == 11 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H12)
# define __WINE_PSHPACK_H12 8
/* Depth == 12 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H13)
# define __WINE_PSHPACK_H13 8
/* Depth == 13 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H14)
# define __WINE_PSHPACK_H14 8
/* Depth == 14 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# elif !defined(__WINE_PSHPACK_H15)
# define __WINE_PSHPACK_H15 8
/* Depth == 15 */
# define __WINE_INTERNAL_POPPACK
# include <poppack.h>
# endif
# endif
# if defined(_MSC_VER) && (_MSC_VER >= 800)
# if defined(_MSC_VER) && (_MSC_VER >= 800)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment