- Timestamp:
- Mar 9, 2009, 3:41:26 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090215
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppArith/src/ppArithVersion.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/ppArith/src/ppArithVersion.c
r23199 r23239 22 22 #include "ppArith.h" 23 23 24 psString ppArithVersion(void)25 {26 24 #ifndef PPARITH_VERSION 27 25 #error "PPARITH_VERSION is not set" … … 30 28 #error "PPARITH_BRANCH is not set" 31 29 #endif 32 return psStringCopy(PPARITH_BRANCH "@" PPARITH_VERSION); 30 #ifndef PPARITH_SOURCE 31 #error "PPARITH_SOURCE is not set" 32 #endif 33 34 #define xstr(s) str(s) 35 #define str(s) #s 36 37 psString ppArithVersion(void) 38 { 39 char *value = NULL; 40 psStringAppend(&value, "%s@%s", xstr(PPARITH_BRANCH), xstr(PPARITH_VERSION)); 41 return value; 33 42 } 34 43 35 44 psString ppArithSource(void) 36 45 { 37 #ifndef PPARITH_SOURCE 38 #error "PPARITH_SOURCE is not set" 39 #endif 40 return psStringCopy(PPARITH_SOURCE); 46 return psStringCopy(xstr(PPARITH_SOURCE)); 41 47 } 42 48
Note:
See TracChangeset
for help on using the changeset viewer.
