Avoid another compiler warning on macOS
commita3a3ea0762d0e5d3b2cb8259a515a468736050d1
authorPhilipp Stephani <phst@google.com>
Sat, 27 May 2017 13:26:49 +0000 (27 15:26 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 27 May 2017 13:29:46 +0000 (27 15:29 +0200)
tree58b4db413d2862dbec283a98f62be5ee78839a15
parentb0177da7fe51b267de6ffa84a38bd0ec3f6c0fa9
Avoid another compiler warning on macOS

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.
src/alloc.c