Changeset 3115 for trunk/psLib/src/sys/psConfigure.c
- Timestamp:
- Feb 2, 2005, 2:54:13 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psConfigure.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psConfigure.c
r2867 r3115 12 12 * @author Robert DeSonia, MHPCC 13 13 * 14 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 1-03 23:35:07$14 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-02-03 00:54:11 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 22 22 #include "psConfigure.h" 23 23 #include "psSysUtilsErrors.h" 24 25 26 #ifndef PS_LIB_VERSION 27 #define PS_LIB_VERSION "psLib version unknown" 28 #pragma warning PS_LIB_VERSION was not defined in the makefile. 29 #endif 24 #include "config.h" 30 25 31 26 char* psLibVersion(void) 32 27 { 33 // PS_LIB_VERSION comes from Makefile.Globals 34 return(psStringCopy(PS_LIB_VERSION)); 28 char version[80]; 29 snprintf(version,80,"%s-v%s",PACKAGE,VERSION); 30 31 return(psStringCopy(version)); 35 32 } 36 33
Note:
See TracChangeset
for help on using the changeset viewer.
