updated the structure packing pragmas
This commit is contained in:
parent
e6116fde2b
commit
afb9f6ab2f
@ -22,7 +22,10 @@
|
|||||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
|
||||||
|
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
# pragma pack(push,1)
|
||||||
|
#elif defined(__GNUC__)
|
||||||
# pragma pack(1)
|
# pragma pack(1)
|
||||||
#elif defined(__HP_aCC) || defined(__HP_cc)
|
#elif defined(__HP_aCC) || defined(__HP_cc)
|
||||||
# pragma PACK 1
|
# pragma PACK 1
|
||||||
|
@ -22,7 +22,10 @@
|
|||||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
|
||||||
|
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
||||||
|
# pragma pack(pop)
|
||||||
|
#elif defined(__GNUC__)
|
||||||
# pragma pack()
|
# pragma pack()
|
||||||
#elif defined(__HP_aCC) || defined(__HP_cc)
|
#elif defined(__HP_aCC) || defined(__HP_cc)
|
||||||
# pragma PACK
|
# pragma PACK
|
||||||
|
Loading…
Reference in New Issue
Block a user