Ignore:
Timestamp:
Dec 26, 2018, 5:05:33 AM (7 years ago)
Author:
bird
Message:

kmkbuiltin: Darwin build fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/strlcpy.c

    r370 r3248  
    3737#include <string.h>
    3838
     39/* This trick is for bootstrap.gmk. */
     40#if defined(__DARWIN_C_LEVEL) && defined(__DARWIN_C_FULL)
     41# define SKIP_STRLCPY
     42#endif
     43#ifndef SKIP_STRLCPY
     44
    3945/*
    4046 * Copy src to string dst of size siz.  At most siz-1 characters
     
    6975        return(s - src - 1);    /* count does not include NUL */
    7076}
     77
     78#endif /* !SKIP_STRLCPY */
Note: See TracChangeset for help on using the changeset viewer.