projects
/
scilab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Avoid dependency on GLIBC_2.4 (__realpath_chk)
[scilab.git]
/
scilab
/
modules
/
core
/
src
/
c
/
tmpdir.c
diff --git
a/scilab/modules/core/src/c/tmpdir.c
b/scilab/modules/core/src/c/tmpdir.c
index
a534aac
..
2026d16
100644
(file)
--- 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 <stdlib.h>
#ifndef _MSC_VER
#include <sys/types.h>