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


Ignore:
Timestamp:
Sep 17, 2006, 6:04:14 AM (19 years ago)
Author:
bird
Message:

CONFIG_WITH_OPTIMIZATION_HACKS

File:
1 edited

Legend:

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

    r520 r527  
    425425extern char *end_of_token PARAMS ((const char *));
    426426extern void collapse_continuations PARAMS ((char *));
    427 #if 1 /* memchr is usually compiler intrinsic, thus faster. */
     427#ifdef CONFIG_WITH_OPTIMIZATION_HACKS /* memchr is usually compiler intrinsic, thus faster. */
    428428#define lindex(s, limit, c) ((char *)memchr((s), (c), (limit) - (s)))
    429429#else
     
    615615                               while (((_v)=_c)==0 && errno==EINTR); }while(0)
    616616
    617 #ifdef __EMX__ /* bird: saves 40-100ms on libc. */
     617#if defined(__EMX__) && defined(CONFIG_WITH_OPTIMIZATION_HACKS) /* bird: saves 40-100ms on libc. */
    618618#undef strchr
    619619#define strchr(s, c) \
Note: See TracChangeset for help on using the changeset viewer.