summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-07-18 20:50:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-07-18 20:50:37 +0000
commit217d2e7dca8f1e8773c40d0a0de1712f33fc87dc (patch)
tree38111e7a5bd7d45796bb88d84db08bec8bec0ed2
parentfixed for Linux (diff)
downloadrtems-217d2e7dca8f1e8773c40d0a0de1712f33fc87dc.tar.bz2
fixed for Linux
-rw-r--r--c/src/exec/score/cpu/unix/cpu.h4
1 files changed, 4 insertions, 0 deletions
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
/*