cl_packoff.h revision 296373
1169978Skmacy/* 2169978Skmacy * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved. 3183063Skmacy * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. 4169978Skmacy * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 5169978Skmacy * 6169978Skmacy * This software is available to you under a choice of one of two 7169978Skmacy * licenses. You may choose to be licensed under the terms of the GNU 8169978Skmacy * General Public License (GPL) Version 2, available from the file 9169978Skmacy * COPYING in the main directory of this source tree, or the 10169978Skmacy * OpenIB.org BSD license below: 11169978Skmacy * 12171471Skmacy * Redistribution and use in source and binary forms, with or 13169978Skmacy * without modification, are permitted provided that the following 14169978Skmacy * conditions are met: 15169978Skmacy * 16169978Skmacy * - Redistributions of source code must retain the above 17169978Skmacy * copyright notice, this list of conditions and the following 18169978Skmacy * disclaimer. 19169978Skmacy * 20169978Skmacy * - Redistributions in binary form must reproduce the above 21169978Skmacy * copyright notice, this list of conditions and the following 22169978Skmacy * disclaimer in the documentation and/or other materials 23169978Skmacy * provided with the distribution. 24169978Skmacy * 25169978Skmacy * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 26169978Skmacy * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 27169978Skmacy * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 28169978Skmacy * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 29169978Skmacy * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 30169978Skmacy * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 31169978Skmacy * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 32169978Skmacy * SOFTWARE. 33169978Skmacy * 34169978Skmacy */ 35237263Snp 36237263Snp/* 37237263Snp * Abstract: 38237263Snp * Turns off byte packing, which is necessary for passing information from 39237263Snp * system to system over a network to ensure no padding by the compiler has 40169978Skmacy * taken place. 41169978Skmacy */ 42237263Snp 43237263Snp#ifdef PACK_SUFFIX 44237263Snp#undef PACK_SUFFIX 45237263Snp#endif 46237263Snp 47237263Snp#ifdef _MSC_VER 48169978Skmacy#pragma pack (pop) 49169978Skmacy#endif 50237263Snp