mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_http_post: Not all versions of gmime have GMIME_MAJOR_VERSION.
This change makes the presence of the GMIME_MAJOR_VERSION definition optional, as not all versions of gmime actually define it. ASTERISK-27454 Change-Id: I01d99590045971ed6787899147170a5954077238
This commit is contained in:
@@ -57,7 +57,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#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
|
||||
|
||||
|
Reference in New Issue
Block a user