summaryrefslogtreecommitdiffhomepage
path: root/auto/clang
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-02 13:01:54 +0300
committerMax Romanov <max.romanov@nginx.com>2017-08-02 13:01:54 +0300
commit83d7ab38acb2ecf917fc66e6aefddff7cb5f7169 (patch)
tree440e089c8b1400d1a6509bd37fd31d1509198341 /auto/clang
parent145eeb84764109841b03ba3eba25ac30b287c781 (diff)
downloadunit-83d7ab38acb2ecf917fc66e6aefddff7cb5f7169.tar.gz
unit-83d7ab38acb2ecf917fc66e6aefddff7cb5f7169.tar.bz2
Using old-style packed attribute specification for compatibility.
Diffstat (limited to 'auto/clang')
-rw-r--r--auto/clang5
1 files changed, 3 insertions, 2 deletions
diff --git a/auto/clang b/auto/clang
index f36a31a0..91078ba9 100644
--- a/auto/clang
+++ b/auto/clang
@@ -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;