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


Ignore:
Timestamp:
Sep 16, 2006, 6:56:25 AM (19 years ago)
Author:
bird
Message:

Cleaning up the modifications. Changes are now either configurable or marked, and dead stuff has been removed (dll shell).

File:
1 edited

Legend:

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

    r507 r520  
    4141
    4242/* Use prototypes if available.  */
    43 #if defined (__cplusplus) || defined (__STDC__) || defined WINDOWS32
     43#if defined (__cplusplus) || defined (__STDC__) || defined WINDOWS32 /* bird: protos on windows */
    4444# undef  PARAMS
    4545# define PARAMS(protos)  protos
     
    425425extern char *end_of_token PARAMS ((const char *));
    426426extern void collapse_continuations PARAMS ((char *));
    427 #ifdef KMK
     427#if 1 /* 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__ /* saves 40-100ms on libc. */
     617#ifdef __EMX__ /* bird: saves 40-100ms on libc. */
    618618#undef strchr
    619619#define strchr(s, c) \
     
    700700}
    701701
    702 #endif
     702#endif /* __EMX__ (bird) */
Note: See TracChangeset for help on using the changeset viewer.