summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2017-12-04 07:27:14 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-12-04 07:27:14 -0600
commitef02d8283560de301c6af1a586c480f1f139edb5 (patch)
treead847c8acede82a1b6b1ab0761bbadd1d04467fc
parent8f5dff543e457ee3450d21e741901609af0cd779 (diff)
parentff8e0f78efecceef2e99b93d2f8be10aa479033e (diff)
Merge "res_http_post: Not all versions of gmime have GMIME_MAJOR_VERSION." into 15
-rw-r--r--res/res_http_post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_http_post.c b/res/res_http_post.c
index 9f5b1837a..dca18a6ad 100644
--- a/res/res_http_post.c
+++ b/res/res_http_post.c
@@ -55,7 +55,7 @@
#ifdef GMIME_TYPE_CONTENT_TYPE
#define AST_GMIME_VER_24
#endif
-#if GMIME_MAJOR_VERSION >= 3
+#if defined(GMIME_MAJOR_VERSION) && (GMIME_MAJOR_VERSION >= 3)
#define AST_GMIME_VER_30
#endif