Changeset 549 for trunk/src/gmake/misc.c
- Timestamp:
- Sep 24, 2006, 6:19:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/misc.c
r527 r549 21 21 #include "debug.h" 22 22 23 #if defined(__EMX__) && defined(CONFIG_WITH_OPTIMIZATION_HACKS) /* bird: saves 5-10ms on libc */ 24 # define bcopy(src, dst, size) __builtin_memcpy((dst), (src), (size)) 23 /* All bcopy calls in this file can be replaced by memcpy and save a tick or two. */ 24 #ifdef CONFIG_WITH_OPTIMIZATION_HACKS 25 # undef bcopy 26 # if defined(__GNUC__) && defined(CONFIG_WITH_OPTIMIZATION_HACKS) 27 # define bcopy(src, dst, size) __builtin_memcpy ((dst), (src), (size)) 28 # else 29 # define bcopy(src, dst, size) memcpy ((dst), (src), (size)) 30 # endif 25 31 #endif 26 32 … … 406 412 407 413 408 #ifndef CONFIG_WITH_OPTIMIZATION_HACKS /* This is really a reimplemntation of 414 #ifndef CONFIG_WITH_OPTIMIZATION_HACKS /* This is really a reimplemntation of 409 415 memchr, only slower. It's been replaced by a macro in the header file. */ 410 416
Note:
See TracChangeset
for help on using the changeset viewer.