IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8813


Ignore:
Timestamp:
Sep 14, 2006, 1:01:28 PM (20 years ago)
Author:
Paul Price
Message:

Wrapping fseeko in preprocessor checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO_CMP.c

    r8788 r8813  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-09-11 22:28:55 $
     5 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-09-14 23:01:28 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9696        return false;
    9797    }
     98    #if defined _LARGEFILE_SOURCE && defined HAVE_SEEKO
    9899    fseeko (f, 0, SEEK_END);
     100    #else
     101
     102    fseek(f, 0, SEEK_END);
     103    #endif
    99104
    100105    psLine *line = psLineAlloc (67);  // 66 is imclean-defined line length
     
    177182        return NULL;
    178183    }
     184    #if defined _LARGEFILE_SOURCE && defined HAVE_SEEKO
    179185    fseeko (f, nBytes, SEEK_SET);
     186    #else
     187
     188    fseek(f, nBytes, SEEK_SET);
     189    #endif
    180190
    181191    // prepare array to store data
Note: See TracChangeset for help on using the changeset viewer.