Cleanup packed attribute headers for gcc.

This commit is contained in:
riccardom 2008-12-30 16:09:24 +00:00
parent ffca57c181
commit ba0adfcf7e
2 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,4 @@
#ifdef __GNUC__
__attribute__((packed))
#else
#ifndef __GNUC__
#pragma pack(push, 1)
#pragma warning(disable : 4103)
#endif

View File

@ -1,5 +1,3 @@
#if defined(_MSC_VER) || defined(__INTEL_COMPILER)
#pragma pack(pop)
#else
#endif