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


Ignore:
Timestamp:
Mar 26, 2006, 8:07:04 AM (19 years ago)
Author:
bird
Message:

optimizing for the libc project.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/misc.c

    r281 r429  
    2222#include "dep.h"
    2323#include "debug.h"
     24
     25#ifdef __EMX__  /* saves 5-10ms on libc */
     26# define bcopy(src, dst, size)   __builtin_memcpy((dst), (src), (size))
     27#endif
    2428
    2529/* Variadic functions.  We go through contortions to allow proper function
     
    420424
    421425
     426#ifndef KMK /* This is really a reimplemntation of memchr. */
    422427/* Limited INDEX:
    423428   Search through the string STRING, which ends at LIMIT, for the character C.
     
    435440  return 0;
    436441}
     442#endif
    437443
    438444
Note: See TracChangeset for help on using the changeset viewer.