Changeset 4112 for pjproject/trunk/pjlib/src/pj/config.c
- Timestamp:
- Apr 27, 2012 9:47:20 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/config.c
r3553 r4112 24 24 static const char *id = "config.c"; 25 25 26 #define PJ_MAKE_VERSION 1(a,b,c,d) #a "." #b "." #cd27 #define PJ_MAKE_VERSION 2(a,b,c,d) PJ_MAKE_VERSION1(a,b,c,d)26 #define PJ_MAKE_VERSION3_1(a,b,d) #a "." #b d 27 #define PJ_MAKE_VERSION3_2(a,b,d) PJ_MAKE_VERSION3_1(a,b,d) 28 28 29 PJ_DEF_DATA(const char*) PJ_VERSION = PJ_MAKE_VERSION2(PJ_VERSION_NUM_MAJOR, 30 PJ_VERSION_NUM_MINOR, 31 PJ_VERSION_NUM_REV, 32 PJ_VERSION_NUM_EXTRA); 29 #define PJ_MAKE_VERSION4_1(a,b,c,d) #a "." #b "." #c d 30 #define PJ_MAKE_VERSION4_2(a,b,c,d) PJ_MAKE_VERSION4_1(a,b,c,d) 31 32 #if PJ_VERSION_NUM_REV 33 PJ_DEF_DATA(const char*) PJ_VERSION = PJ_MAKE_VERSION4_2(PJ_VERSION_NUM_MAJOR, 34 PJ_VERSION_NUM_MINOR, 35 PJ_VERSION_NUM_REV, 36 PJ_VERSION_NUM_EXTRA); 37 #else 38 PJ_DEF_DATA(const char*) PJ_VERSION = PJ_MAKE_VERSION3_2(PJ_VERSION_NUM_MAJOR, 39 PJ_VERSION_NUM_MINOR, 40 PJ_VERSION_NUM_EXTRA); 41 #endif 33 42 34 43 /*
Note: See TracChangeset
for help on using the changeset viewer.