]> git.lizzy.rs Git - irrlicht.git/blob - include/irrunpack.h
Avoid some warnings from static code analysis.
[irrlicht.git] / include / irrunpack.h
1 // Copyright (C) 2007-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 // include this file to switch back to default alignment\r
6 // file belongs to irrpack.h, see there for more info\r
7 \r
8 // Default alignment\r
9 #if defined(_MSC_VER) || defined(__BORLANDC__) || defined (__BCPLUSPLUS__)\r
10 #       pragma pack( pop, packing )\r
11 #elif defined (__DMC__)\r
12 #       pragma pack( pop )\r
13 #elif defined( __GNUC__ )\r
14 #   if (__GNUC__ > 4 ) || ((__GNUC__ == 4 ) && (__GNUC_MINOR__ >= 7))\r
15 #           pragma pack( pop, packing )\r
16 #   endif\r
17 #endif\r
18 \r
19 #undef PACK_STRUCT\r
20 \r