diff src/event/ngx_event_connect.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 1c9863f9592e
children e38e9c50a40e
line wrap: on
line diff
--- a/src/event/ngx_event_connect.h
+++ b/src/event/ngx_event_connect.h
@@ -68,6 +68,9 @@ struct ngx_peer_connection_s {
 
                                      /* ngx_connection_log_error_e */
     unsigned                         log_error:2;
+
+    NGX_COMPAT_BEGIN(2)
+    NGX_COMPAT_END
 };