~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to modules/solaris/vmxnet3/vmware_pack_begin.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-03-20 10:19:00 UTC
  • mfrom: (1.1.4 upstream) (2.4.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090320101900-1o604camiubq2de8
Tags: 2009.03.18-154848-2
Correcting patch system depends (Closes: #520493).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*********************************************************
 
2
 * Copyright (C) 2002 VMware, Inc. All rights reserved.
 
3
 *
 
4
 * The contents of this file are subject to the terms of the Common
 
5
 * Development and Distribution License (the "License") version 1.0
 
6
 * and no later version.  You may not use this file except in
 
7
 * compliance with the License.
 
8
 *
 
9
 * You can obtain a copy of the License at
 
10
 *         http://www.opensource.org/licenses/cddl1.php
 
11
 *
 
12
 * See the License for the specific language governing permissions
 
13
 * and limitations under the License.
 
14
 *
 
15
 *********************************************************/
 
16
 
 
17
/*
 
18
 * vmware_pack_begin.h --
 
19
 *
 
20
 *    Begin of structure packing. See vmware_pack_init.h for details.
 
21
 *
 
22
 *    Note that we do not use the following construct in this include file,
 
23
 *    because we want to emit the code every time the file is included --hpreg
 
24
 *
 
25
 *    #ifndef foo
 
26
 *    #   define foo
 
27
 *    ...
 
28
 *    #endif
 
29
 *
 
30
 */
 
31
 
 
32
 
 
33
#include "vmware_pack_init.h"
 
34
 
 
35
 
 
36
#ifdef _MSC_VER
 
37
#   pragma pack(push, 1)
 
38
#elif __GNUC__
 
39
#else
 
40
#   error Compiler packing...
 
41
#endif