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