summaryrefslogtreecommitdiffstats
path: root/scilab/modules/tclsci
diff options
context:
space:
mode:
authorPierre MARECHAL <pierre.marechal@scilab.org>2010-01-13 08:53:41 +0100
committerPierre MARECHAL <pierre.marechal@scilab.org>2010-01-13 08:53:41 +0100
commit01087680d2e8ba11ec4a9a1d6ffc6024ee647904 (patch)
tree78e855acc4c94a1206920a3cabdfc8dd491e01d3 /scilab/modules/tclsci
parentc437dda3930b96171636b92c356f8e9e5f323b6c (diff)
parent0e07cee9888e428cdb6f0c2d6cf703ef3a81c9e2 (diff)
downloadscilab-01087680d2e8ba11ec4a9a1d6ffc6024ee647904.zip
scilab-01087680d2e8ba11ec4a9a1d6ffc6024ee647904.tar.gz
Merge commit 'origin/5.2'
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"