Changeset 23795 for trunk/ppArith/src/ppArithVersion.c
- Timestamp:
- Apr 9, 2009, 10:22:58 PM (17 years ago)
- Location:
- trunk/ppArith/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppArithVersion.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppArith/src
- Property svn:ignore
-
old new 7 7 .libs 8 8 ppArith 9 ppArithVersionDefinitions.h
-
- Property svn:ignore
-
trunk/ppArith/src/ppArithVersion.c
r23289 r23795 21 21 22 22 #include "ppArith.h" 23 #include "ppArithVersionDefinitions.h" 23 24 24 25 #ifndef PPARITH_VERSION … … 32 33 #endif 33 34 34 #define xstr(s) str(s)35 #define str(s) #s36 37 35 psString ppArithVersion(void) 38 36 { 39 37 char *value = NULL; 40 psStringAppend(&value, "%s@%s", xstr(PPARITH_BRANCH), xstr(PPARITH_VERSION));38 psStringAppend(&value, "%s@%s", PPARITH_BRANCH, PPARITH_VERSION); 41 39 return value; 42 40 } … … 44 42 psString ppArithSource(void) 45 43 { 46 return psStringCopy( xstr(PPARITH_SOURCE));44 return psStringCopy(PPARITH_SOURCE); 47 45 } 48 46
Note:
See TracChangeset
for help on using the changeset viewer.
