- Timestamp:
- Mar 9, 2009, 3:41:26 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090215
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStack/src/ppStackVersion.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090215
- Property svn:mergeinfo changed
/branches/eam_branches/eam_branch_20090303 (added) merged: 23158,23175-23181,23202-23210,23220-23225 /trunk merged: 23211-23219,23226-23238
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090215/ppStack/src/ppStackVersion.c
r23199 r23239 11 11 #include "ppStack.h" 12 12 13 psString ppStackVersion(void)14 {15 13 #ifndef PPSTACK_VERSION 16 14 #error "PPSTACK_VERSION is not set" … … 19 17 #error "PPSTACK_BRANCH is not set" 20 18 #endif 21 return psStringCopy(PPSTACK_BRANCH "@" PPSTACK_VERSION); 19 #ifndef PPSTACK_SOURCE 20 #error "PPSTACK_SOURCE is not set" 21 #endif 22 23 #define xstr(s) str(s) 24 #define str(s) #s 25 26 psString ppStackVersion(void) 27 { 28 char *value = NULL; 29 psStringAppend(&value, "%s@%s", xstr(PPSTACK_BRANCH), xstr(PPSTACK_VERSION)); 30 return value; 22 31 } 23 32 24 33 psString ppStackSource(void) 25 34 { 26 #ifndef PPSTACK_SOURCE 27 #error "PPSTACK_SOURCE is not set" 28 #endif 29 return psStringCopy(PPSTACK_SOURCE); 35 return psStringCopy(xstr(PPSTACK_SOURCE)); 30 36 } 31 37
Note:
See TracChangeset
for help on using the changeset viewer.
