Changeset 3114 for trunk/psLib/src/astronomy/psTime.c
- Timestamp:
- Feb 2, 2005, 2:45:06 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psTime.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psTime.c
r2749 r3114 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $13 * @date $Date: 200 4-12-17 20:47:08$12 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-02-03 00:45:06 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 35 35 #include "psAstronomyErrors.h" 36 36 37 #ifndef TIME_CONFIG_FILE 38 #define TIME_CONFIG_FILE "../../config/psTime.config" 39 #pragma warning TIME_CONFIG_FILE was not defined in the makefile. 40 #endif 37 #include "config.h" 41 38 42 39 #define MAX_STRING_LENGTH 256 … … 151 148 // Check time metadata. Function call reports errors. 152 149 if(timeMetadata == NULL) { 153 if(!p_psTimeInit( TIME_CONFIG_FILE))150 if(!p_psTimeInit(CONFIG_FILE)) 154 151 return 0.0; 155 152 } … … 708 705 // Check time metadata 709 706 if(timeMetadata == NULL) { 710 if(!p_psTimeInit( TIME_CONFIG_FILE)) {707 if(!p_psTimeInit(CONFIG_FILE)) { 711 708 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psTime_FILE_NOT_FOUND, "psTime.config"); 712 709 return 0.0;
Note:
See TracChangeset
for help on using the changeset viewer.
