提交 f801348a 编写于 作者: J jp9000

Add MAKE_SEMANTIC_VERSION macro

上级 a98dfe50
......@@ -43,9 +43,15 @@
*/
#define LIBOBS_API_PATCH_VER 0
#define LIBOBS_API_VER ((LIBOBS_API_MAJOR_VER << 24) | \
(LIBOBS_API_MINOR_VER << 16) | \
LIBOBS_API_PATCH_VER )
#define MAKE_SEMANTIC_VERSION(major, minor, patch) \
((major << 24) | \
(minor << 16) | \
patch )
#define LIBOBS_API_VER \
MAKE_SEMANTIC_VERSION(LIBOBS_API_MAJOR_VER, \
LIBOBS_API_MINOR_VER, \
LIBOBS_API_PATCH_VER)
#ifdef HAVE_OBSCONFIG_H
# include "obsconfig.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册