Using old-style packed attribute specification for compatibility.

This commit is contained in:
Max Romanov
2017-08-02 13:01:54 +03:00
parent 145eeb8476
commit 83d7ab38ac
2 changed files with 7 additions and 6 deletions

View File

@@ -153,9 +153,10 @@ nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_PACKED
nxt_feature_run=
nxt_feature_path=
nxt_feature_libs=
nxt_feature_test="struct __attribute__ ((__packed__)) s {
nxt_feature_test="struct s {
char c;
};
int i;
} __attribute__ ((__packed__));
int main() {
return 1;