IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2007, 6:13:51 PM (19 years ago)
Author:
jhoblitt
Message:

add our own implementation of strcasestr() that's only used when it doesn't exist in libc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psString.h

    r10446 r10949  
    1414 *  @author David Robbins, MHPCC
    1515 *
    16  *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2006-12-04 22:15:04 $
     16 *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2007-01-06 04:13:51 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    221221}
    222222
     223#ifndef DOXYGEN
     224#if NO_STRCASESTR
     225// this means that the system's libc does not provide strcasestr()
     226#define strcasestr(...) p_psstrcasestr(__VA_ARGS__)
     227extern char *p_psstrcasestr (const char *haystack, const char *needle)
     228    __THROW __attribute_pure__ __nonnull ((1, 2));
     229#endif // if NO_STRCASESTR
     230#endif // ifndef DOXYGEN
    223231
    224232/** @} */// Doxygen - End of SystemGroup Functions
Note: See TracChangeset for help on using the changeset viewer.