From 217d2e7dca8f1e8773c40d0a0de1712f33fc87dc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 18 Jul 1995 20:50:37 +0000 Subject: fixed for Linux --- c/src/exec/score/cpu/unix/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/c/src/exec/score/cpu/unix/cpu.h b/c/src/exec/score/cpu/unix/cpu.h index 90eb6f5216..0fbf7ed0dd 100644 --- a/c/src/exec/score/cpu/unix/cpu.h +++ b/c/src/exec/score/cpu/unix/cpu.h @@ -38,6 +38,10 @@ extern "C" { #define __STRICT_ANSI__ #endif +#if defined(linux) +#define MALLOC_0_RETURNS_NULL +#endif + #if 0 /* -- cgit v1.2.3