VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/pshpack1.h@ 33252

Last change on this file since 33252 was 16477, checked in by vboxsync, 16 years ago

LGPL disclaimer by filemuncher

  • Property svn:eol-style set to native
File size: 3.6 KB
Line 
1/*
2 * Copyright (C) 1999 Patrik Stridvall
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#if defined(__WINE_PSHPACK_H15)
29
30 /* Depth > 15 */
31# error "Alignment nesting > 15 is not supported"
32
33#else
34
35# if !defined(__WINE_PSHPACK_H)
36# define __WINE_PSHPACK_H 1
37 /* Depth == 1 */
38# elif !defined(__WINE_PSHPACK_H2)
39# define __WINE_PSHPACK_H2 1
40 /* Depth == 2 */
41# define __WINE_INTERNAL_POPPACK
42# include <poppack.h>
43# elif !defined(__WINE_PSHPACK_H3)
44# define __WINE_PSHPACK_H3 1
45 /* Depth == 3 */
46# define __WINE_INTERNAL_POPPACK
47# include <poppack.h>
48# elif !defined(__WINE_PSHPACK_H4)
49# define __WINE_PSHPACK_H4 1
50 /* Depth == 4 */
51# define __WINE_INTERNAL_POPPACK
52# include <poppack.h>
53# elif !defined(__WINE_PSHPACK_H5)
54# define __WINE_PSHPACK_H5 1
55 /* Depth == 5 */
56# define __WINE_INTERNAL_POPPACK
57# include <poppack.h>
58# elif !defined(__WINE_PSHPACK_H6)
59# define __WINE_PSHPACK_H6 1
60 /* Depth == 6 */
61# define __WINE_INTERNAL_POPPACK
62# include <poppack.h>
63# elif !defined(__WINE_PSHPACK_H7)
64# define __WINE_PSHPACK_H7 1
65 /* Depth == 7 */
66# define __WINE_INTERNAL_POPPACK
67# include <poppack.h>
68# elif !defined(__WINE_PSHPACK_H8)
69# define __WINE_PSHPACK_H8 1
70 /* Depth == 8 */
71# define __WINE_INTERNAL_POPPACK
72# include <poppack.h>
73# elif !defined(__WINE_PSHPACK_H9)
74# define __WINE_PSHPACK_H9 1
75 /* Depth == 9 */
76# define __WINE_INTERNAL_POPPACK
77# include <poppack.h>
78# elif !defined(__WINE_PSHPACK_H10)
79# define __WINE_PSHPACK_H10 1
80 /* Depth == 10 */
81# define __WINE_INTERNAL_POPPACK
82# include <poppack.h>
83# elif !defined(__WINE_PSHPACK_H11)
84# define __WINE_PSHPACK_H11 1
85 /* Depth == 11 */
86# define __WINE_INTERNAL_POPPACK
87# include <poppack.h>
88# elif !defined(__WINE_PSHPACK_H12)
89# define __WINE_PSHPACK_H12 1
90 /* Depth == 12 */
91# define __WINE_INTERNAL_POPPACK
92# include <poppack.h>
93# elif !defined(__WINE_PSHPACK_H13)
94# define __WINE_PSHPACK_H13 1
95 /* Depth == 13 */
96# define __WINE_INTERNAL_POPPACK
97# include <poppack.h>
98# elif !defined(__WINE_PSHPACK_H14)
99# define __WINE_PSHPACK_H14 1
100 /* Depth == 14 */
101# define __WINE_INTERNAL_POPPACK
102# include <poppack.h>
103# elif !defined(__WINE_PSHPACK_H15)
104# define __WINE_PSHPACK_H15 1
105 /* Depth == 15 */
106# define __WINE_INTERNAL_POPPACK
107# include <poppack.h>
108# endif
109
110# if defined(_MSC_VER) && (_MSC_VER >= 800)
111# pragma warning(disable:4103)
112# endif
113
114# pragma pack(1)
115
116#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette