From 5d137894749713b28b47c02a81c198a3b129388e Mon Sep 17 00:00:00 2001 From: Vincent COUVERT Date: Fri, 18 Jan 2013 15:35:08 +0100 Subject: [PATCH] Avoid dependency on GLIBC_2.4 (__realpath_chk) Change-Id: I6723578fa037caf4d6b75c97389d31f7d3568d67 --- scilab/modules/core/src/c/tmpdir.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scilab/modules/core/src/c/tmpdir.c b/scilab/modules/core/src/c/tmpdir.c index a534aac..2026d16 100644 --- a/scilab/modules/core/src/c/tmpdir.c +++ b/scilab/modules/core/src/c/tmpdir.c @@ -20,6 +20,9 @@ #endif #if defined(__STDC__) || defined(_MSC_VER) +#if defined(__linux__) +#define __USE_FORTIFY_LEVEL 0 /* Avoid dependency on GLIBC_2.4 (__realpath_chk) */ +#endif #include #ifndef _MSC_VER #include -- 1.7.9.5