summaryrefslogtreecommitdiffstats
path: root/scilab/modules/tclsci
diff options
context:
space:
mode:
authorVincent COUVERT <vincent.couvert@scilab.org>2010-01-12 16:34:08 +0100
committerVincent COUVERT <vincent.couvert@scilab.org>2010-01-12 16:34:08 +0100
commit272bcf848da80aafe2b50b9047b7c832f60099c5 (patch)
tree953d1bf26b1b5888d34edbbd951ebe89cd793c4a /scilab/modules/tclsci
parent519e7db8c631f1663cdd77b6c825918b8c8cb976 (diff)
downloadscilab-272bcf848da80aafe2b50b9047b7c832f60099c5.zip
scilab-272bcf848da80aafe2b50b9047b7c832f60099c5.tar.gz
Bug 5673 fixed - Under Linux, dependency on GLIBC_2.7 removed
Diffstat (limited to 'scilab/modules/tclsci')
-rw-r--r--scilab/modules/tclsci/src/c/GedManagement.c4
-rw-r--r--scilab/modules/tclsci/src/c/TCL_ArrayDim.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/scilab/modules/tclsci/src/c/GedManagement.c b/scilab/modules/tclsci/src/c/GedManagement.c
index 50eb09b..1c76271 100644
--- a/scilab/modules/tclsci/src/c/GedManagement.c
+++ b/scilab/modules/tclsci/src/c/GedManagement.c
@@ -15,6 +15,10 @@
15/* Desc : C functions to manage ged (only destroy for now) */ 15/* Desc : C functions to manage ged (only destroy for now) */
16/*--------------------------------------------------------------------------------*/ 16/*--------------------------------------------------------------------------------*/
17 17
18#if defined(__linux__)
19#define _GNU_SOURCE /* Bug 5673 fix: avoid dependency on GLIBC_2.7 */
20#endif
21
18#include "GedManagement.h" 22#include "GedManagement.h"
19#include "TCL_Global.h" 23#include "TCL_Global.h"
20#include "GlobalTclInterp.h" 24#include "GlobalTclInterp.h"
diff --git a/scilab/modules/tclsci/src/c/TCL_ArrayDim.c b/scilab/modules/tclsci/src/c/TCL_ArrayDim.c
index 5aeea85..a710e2f 100644
--- a/scilab/modules/tclsci/src/c/TCL_ArrayDim.c
+++ b/scilab/modules/tclsci/src/c/TCL_ArrayDim.c
@@ -11,6 +11,9 @@
11 * 11 *
12 */ 12 */
13 13
14#if defined(__linux__)
15#define _GNU_SOURCE /* Bug 5673 fix: avoid dependency on GLIBC_2.7 */
16#endif
14 17
15#include <string.h> 18#include <string.h>
16#include "MALLOC.h" 19#include "MALLOC.h"