Changeset 527 for trunk/src/gmake/misc.c


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/misc.c

    r520 r527  
    2121#include "debug.h"
    2222
    23 #ifdef __EMX__ /* bird: saves 5-10ms on libc */
     23#if defined(__EMX__) && defined(CONFIG_WITH_OPTIMIZATION_HACKS) /* bird: saves 5-10ms on libc */
    2424# define bcopy(src, dst, size)   __builtin_memcpy((dst), (src), (size))
    2525#endif
     
    406406
    407407
    408 #if 0 /* This is really a reimplemntation of memchr, only slower.
    409          It's been replaced by a macro in the header file. */
     408#ifndef CONFIG_WITH_OPTIMIZATION_HACKS /* This is really a reimplemntation of
     409   memchr, only slower. It's been replaced by a macro in the header file. */
     410
    410411/* Limited INDEX:
    411412   Search through the string STRING, which ends at LIMIT, for the character C.
     
    423424  return 0;
    424425}
    425 #endif
     426#endif /* CONFIG_WITH_OPTIMIZATION_HACKS */
    426427
    427428
Note: See TracChangeset for help on using the changeset viewer.