• Philipp Stephani's avatar
    Avoid another compiler warning on macOS · a3a3ea07
    Philipp Stephani authored
    When configured with --without-ns, HAVE_NS is not defined on macOS,
    thus 'memory-limit' calls the deprecated sbrk(2) function.  Avoid that
    by using the pre-defined __APPLE__ preprocessor macro.
    
    * src/alloc.c (Fmemory_limit): Never use sbrk(2) on macOS.
    a3a3ea07
alloc.c 204 KB