diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2016-09-29 15:28:24 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2016-09-29 15:28:24 +0300 |
| commit | c40de746829971f2edbf9faeae64d4516cb5466e (patch) | |
| tree | ece4a42e478e892423a571fd94a19c0ae1f5ff63 /src/stream/ngx_stream_upstream.h | |
| parent | 833d03a0a2f9fa62de0f347a08c36a787bcdd8e2 (diff) | |
| download | nginx-c40de746829971f2edbf9faeae64d4516cb5466e.tar.gz nginx-c40de746829971f2edbf9faeae64d4516cb5466e.tar.bz2 | |
Introduced the NGX_COMPAT macro.
When enabled, some structures are padded to be size compatible
with their NGINX Plus versions.
Diffstat (limited to 'src/stream/ngx_stream_upstream.h')
| -rw-r--r-- | src/stream/ngx_stream_upstream.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stream/ngx_stream_upstream.h b/src/stream/ngx_stream_upstream.h index db2198417..5c99078a6 100644 --- a/src/stream/ngx_stream_upstream.h +++ b/src/stream/ngx_stream_upstream.h @@ -58,6 +58,9 @@ typedef struct { unsigned down:1; unsigned backup:1; + + NGX_COMPAT_BEGIN(4) + NGX_COMPAT_END } ngx_stream_upstream_server_t; |
