From: Vincent COUVERT Date: Fri, 18 Jan 2013 14:35:08 +0000 (+0100) Subject: Avoid dependency on GLIBC_2.4 (__realpath_chk) X-Git-Tag: 5.4.1~597 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=5d137894749713b28b47c02a81c198a3b129388e Avoid dependency on GLIBC_2.4 (__realpath_chk) Change-Id: I6723578fa037caf4d6b75c97389d31f7d3568d67 --- 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