Ignore:
Timestamp:
Oct 1, 2001, 3:34:52 AM (24 years ago)
Author:
bird
Message:

Watcom: static inline workaround. fixed some noise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/wine/unicode.h

    r6103 r6914  
    5353#endif
    5454
    55 #if defined(__IBMC__) || defined(__IBMCPP__)
     55#if defined(__IBMC__) || defined(__IBMCPP__) || defined(__WATCOMC__) || defined(__WATCOM_CPLUSPLUS__)
    5656#define static
    5757#endif
     
    135135{
    136136    WCHAR *ret = str1;
     137    #ifdef __WATCOMC__ /* kso: it's so noisy and I don't find the right pragma... */
     138    while (n-- > 0) if ((*str1++ = *str2++) != 0) break;
     139    #else
    137140    while (n-- > 0) if (!(*str1++ = *str2++)) break;
     141    #endif
    138142    while (n-- > 0) *str1++ = 0;
    139143    return ret;
     
    185189
    186190
    187 #if defined(__IBMC__) || defined(__IBMCPP__)
     191#if defined(__IBMC__) || defined(__IBMCPP__) || defined(__WATCOMC__) || defined(__WATCOM_CPLUSPLUS__)
    188192#undef static
    189193#endif
Note: See TracChangeset for help on using the changeset viewer.