Avoid dependency on GLIBC_2.4 (__realpath_chk) 52/10252/1
Vincent COUVERT [Fri, 18 Jan 2013 14:35:08 +0000 (15:35 +0100)]
Change-Id: I6723578fa037caf4d6b75c97389d31f7d3568d67

scilab/modules/core/src/c/tmpdir.c

index a534aac..2026d16 100644 (file)
@@ -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>