Ignore:
Timestamp:
Dec 16, 2000, 9:10:09 PM (25 years ago)
Author:
bird
Message:

Prepared for build level info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/kFileDef.cpp

    r4426 r4804  
    99*   Defined Constants                                                          *
    1010*******************************************************************************/
    11 #define StringCase(psz, pszMatch) (strnicmp(psz, pszMatch, sizeof(pszMatch)-1) == 0)
     11#define StringCase(psz, pszMatch) (strnicmp(psz, pszMatch, sizeof(pszMatch)-1) == 0 \
     12                                   && (   psz[sizeof(pszMatch)-1] == '\0' \
     13                                       || psz[sizeof(pszMatch)-1] == ' '  \
     14                                       || psz[sizeof(pszMatch)-1] == '\n' \
     15                                       || psz[sizeof(pszMatch)-1] == '\r' \
     16                                       || psz[sizeof(pszMatch)-1] == '\t' \
     17                                       ) \
     18                                   )
    1219
    1320/*******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.