Mercurial > hg > nginx
comparison src/stream/ngx_stream_upstream_round_robin.h @ 6715:d200a0fd00b7
Introduced the NGX_COMPAT macro.
When enabled, some structures are padded to be size compatible
with their NGINX Plus versions.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 29 Sep 2016 15:28:24 +0300 |
parents | 63b8b157b776 |
children | f41c2530dd17 |
comparison
equal
deleted
inserted
replaced
6714:c3e3de6d2672 | 6715:d200a0fd00b7 |
---|---|
48 #if (NGX_STREAM_UPSTREAM_ZONE) | 48 #if (NGX_STREAM_UPSTREAM_ZONE) |
49 ngx_atomic_t lock; | 49 ngx_atomic_t lock; |
50 #endif | 50 #endif |
51 | 51 |
52 ngx_stream_upstream_rr_peer_t *next; | 52 ngx_stream_upstream_rr_peer_t *next; |
53 | |
54 NGX_COMPAT_BEGIN(25) | |
55 NGX_COMPAT_END | |
53 }; | 56 }; |
54 | 57 |
55 | 58 |
56 typedef struct ngx_stream_upstream_rr_peers_s ngx_stream_upstream_rr_peers_t; | 59 typedef struct ngx_stream_upstream_rr_peers_s ngx_stream_upstream_rr_peers_t; |
57 | 60 |