diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-02-28 07:44:19 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-02-28 07:44:19 +0000 |
commit | d62ff46dee0080e4470c03496614245f23c68a2d (patch) | |
tree | 2a6f0fbd7ce92cb34f7ec671f6beff15c0b872e9 /pjlib/src/pj/config.c | |
parent | a8f0337ed01c61809d5ff4b0ae026cbae142b697 (diff) |
Initial implementation for re #1202 (PJILB System Information API) for Linux/Unix
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/config.c')
-rw-r--r-- | pjlib/src/pj/config.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pjlib/src/pj/config.c b/pjlib/src/pj/config.c index e03395e9..8be85cdb 100644 --- a/pjlib/src/pj/config.c +++ b/pjlib/src/pj/config.c @@ -22,7 +22,14 @@ #include <pj/ioqueue.h> static const char *id = "config.c"; -PJ_DEF_DATA(const char*) PJ_VERSION = "1.8.10-trunk"; + +#define PJ_MAKE_VERSION1(a,b,c,d) #a "." #b "." #c d +#define PJ_MAKE_VERSION2(a,b,c,d) PJ_MAKE_VERSION1(a,b,c,d) + +PJ_DEF_DATA(const char*) PJ_VERSION = PJ_MAKE_VERSION2(PJ_VERSION_NUM_MAJOR, + PJ_VERSION_NUM_MINOR, + PJ_VERSION_NUM_REV, + PJ_VERSION_NUM_EXTRA); /* * Get PJLIB version string. |