IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2007, 9:37:31 AM (19 years ago)
Author:
rhl
Message:

strcasestr isn't in posix (and is in C namespace). Use psStrcasestr

File:
1 edited

Legend:

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

    r12517 r12885  
    1111 * @author Joshua Hoblitt, University of Hawaii
    1212 *
    13  * @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    14  * @date $Date: 2007-03-21 21:37:58 $
     13 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     14 * @date $Date: 2007-04-18 19:37:08 $
    1515 *
    1616 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    309309}
    310310
    311 #ifndef DOXYGEN
    312 #if NO_STRCASESTR
    313 // this means that the system's libc does not provide strcasestr()
    314 #define strcasestr(...) p_psstrcasestr(__VA_ARGS__)
    315 extern char *p_psstrcasestr (const char *haystack, const char *needle)
    316     __THROW __attribute_pure__ __nonnull ((1, 2));
    317 #endif // if NO_STRCASESTR
    318 #endif // ifndef DOXYGEN
    319 
     311char *psStrcasestr (const char *haystack, const char *needle);
    320312
    321313/// @}
Note: See TracChangeset for help on using the changeset viewer.