<p>Joshua Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7402">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_http_post: Not all versions of gmime have GMIME_MAJOR_VERSION.<br><br>This change makes the presence of the GMIME_MAJOR_VERSION<br>definition optional, as not all versions of gmime actually<br>define it.<br><br>ASTERISK-27454<br><br>Change-Id: I01d99590045971ed6787899147170a5954077238<br>---<br>M res/res_http_post.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/02/7402/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_http_post.c b/res/res_http_post.c<br>index 9f5b183..dca18a6 100644<br>--- a/res/res_http_post.c<br>+++ b/res/res_http_post.c<br>@@ -55,7 +55,7 @@<br> #ifdef GMIME_TYPE_CONTENT_TYPE<br> #define AST_GMIME_VER_24<br> #endif<br>-#if GMIME_MAJOR_VERSION >= 3<br>+#if defined(GMIME_MAJOR_VERSION) && (GMIME_MAJOR_VERSION >= 3)<br> #define AST_GMIME_VER_30<br> #endif<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7402">change 7402</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7402"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I01d99590045971ed6787899147170a5954077238 </div>
<div style="display:none"> Gerrit-Change-Number: 7402 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>