IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2005, 2:45:06 PM (21 years ago)
Author:
desonia
Message:

Added SWIG and autoconf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.c

    r2749 r3114  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-12-17 20:47:08 $
     12 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-02-03 00:45:06 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3535#include "psAstronomyErrors.h"
    3636
    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"
    4138
    4239#define MAX_STRING_LENGTH 256
     
    151148    // Check time metadata. Function call reports errors.
    152149    if(timeMetadata == NULL) {
    153         if(!p_psTimeInit(TIME_CONFIG_FILE))
     150        if(!p_psTimeInit(CONFIG_FILE))
    154151            return 0.0;
    155152    }
     
    708705    // Check time metadata
    709706    if(timeMetadata == NULL) {
    710         if(!p_psTimeInit(TIME_CONFIG_FILE)) {
     707        if(!p_psTimeInit(CONFIG_FILE)) {
    711708            psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psTime_FILE_NOT_FOUND, "psTime.config");
    712709            return 0.0;
Note: See TracChangeset for help on using the changeset viewer.