Commit 5ed71389 authored by Thomas Daede's avatar Thomas Daede

Turn off packing.

parent 469d2bfd
...@@ -77,6 +77,7 @@ extern "C" { ...@@ -77,6 +77,7 @@ extern "C" {
#endif #endif
/*!\brief Decorator indicating that given struct/union/enum is packed */ /*!\brief Decorator indicating that given struct/union/enum is packed */
#if 0
#ifndef ATTRIBUTE_PACKED #ifndef ATTRIBUTE_PACKED
#if defined(__GNUC__) && __GNUC__ #if defined(__GNUC__) && __GNUC__
#define ATTRIBUTE_PACKED __attribute__((packed)) #define ATTRIBUTE_PACKED __attribute__((packed))
...@@ -86,6 +87,9 @@ extern "C" { ...@@ -86,6 +87,9 @@ extern "C" {
#define ATTRIBUTE_PACKED #define ATTRIBUTE_PACKED
#endif #endif
#endif /* ATTRIBUTE_PACKED */ #endif /* ATTRIBUTE_PACKED */
#else
#define ATTRIBUTE_PACKED
#endif
/*!\brief Current ABI version number /*!\brief Current ABI version number
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment