Changeset 549 for trunk/src/gmake/make.h


Ignore:
Timestamp:
Sep 24, 2006, 6:19:23 AM (19 years ago)
Author:
bird
Message:

Regenerated config.h.os2 and make adjustments to make it all build quietly on OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/make.h

    r527 r549  
    616616
    617617#if defined(__EMX__) && defined(CONFIG_WITH_OPTIMIZATION_HACKS) /* bird: saves 40-100ms on libc. */
     618static inline void *__my_rawmemchr (const void *__s, int __c);
    618619#undef strchr
    619620#define strchr(s, c) \
    620621  (__extension__ (__builtin_constant_p (c)                                    \
    621622                  ? ((c) == '\0'                                              \
    622                      ? (char *) __rawmemchr ((s), (c))                        \
    623                      : __strchr_c ((s), ((c) & 0xff) << 8))                   \
    624                   : __strchr_g ((s), (c))))
    625 static inline char *__strchr_c (const char *__s, int __c)
     623                     ? (char *) __my_rawmemchr ((s), (c))                             \
     624                     : __my_strchr_c ((s), ((c) & 0xff) << 8))                \
     625                  : __my_strchr_g ((s), (c))))
     626static inline char *__my_strchr_c (const char *__s, int __c)
    626627{
    627628  register unsigned long int __d0;
     
    644645}
    645646
    646 static inline char *__strchr_g (__const char *__s, int __c)
     647static inline char *__my_strchr_g (__const char *__s, int __c)
    647648{
    648649  register unsigned long int __d0;
     
    666667}
    667668
    668 static inline void *__rawmemchr (const void *__s, int __c)
     669static inline void *__my_rawmemchr (const void *__s, int __c)
    669670{
    670671  register unsigned long int __d0;
     
    681682
    682683#undef memchr
    683 #define memchr(a,b,c) __memchr((a),(b),(c))
    684 static inline void *__memchr (__const void *__s, int __c, size_t __n)
     684#define memchr(a,b,c) __my_memchr((a),(b),(c))
     685static inline void *__my_memchr (__const void *__s, int __c, size_t __n)
    685686{
    686687  register unsigned long int __d0;
Note: See TracChangeset for help on using the changeset viewer.