summaryrefslogtreecommitdiffhomepage
path: root/auto/clang
diff options
context:
space:
mode:
Diffstat (limited to 'auto/clang')
-rw-r--r--auto/clang15
1 files changed, 15 insertions, 0 deletions
diff --git a/auto/clang b/auto/clang
index dc434940..f36a31a0 100644
--- a/auto/clang
+++ b/auto/clang
@@ -146,3 +146,18 @@ nxt_feature_test="#include <stdlib.h>
return 0;
}"
. auto/feature
+
+
+nxt_feature="GCC __attribute__ packed"
+nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_PACKED
+nxt_feature_run=
+nxt_feature_path=
+nxt_feature_libs=
+nxt_feature_test="struct __attribute__ ((__packed__)) s {
+ char c;
+ };
+
+ int main() {
+ return 1;
+ }"
+. auto/feature