diff options
| author | Philipp Stephani | 2017-05-27 15:26:49 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-05-27 15:29:46 +0200 |
| commit | a3a3ea0762d0e5d3b2cb8259a515a468736050d1 (patch) | |
| tree | 58b4db413d2862dbec283a98f62be5ee78839a15 /src/coding.c | |
| parent | b0177da7fe51b267de6ffa84a38bd0ec3f6c0fa9 (diff) | |
| download | emacs-a3a3ea0762d0e5d3b2cb8259a515a468736050d1.tar.gz emacs-a3a3ea0762d0e5d3b2cb8259a515a468736050d1.zip | |
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.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions