Fix some compilation issues under Windows.
Jean-baptiste Silvy [Wed, 2 Jan 2008 14:57:54 +0000 (14:57 +0000)]
scilab/modules/core/sci_gateway/c/sci_getvariablesonstack.c
scilab/modules/tclsci/sci_gateway/c/sci_TCL_DeleteInterp.c
scilab/modules/tclsci/src/c/InitTclTk.h
scilab/modules/tclsci/src/c/ScilabEval.h

index 332d6a4..4777728 100644 (file)
@@ -44,7 +44,7 @@ int C2F(sci_getvariablesonstack) _PARAMS((char *fname,unsigned long fname_len))
                        }
                        else
                        {
-                               Scierror(999,_("%s: Wrong first input argument: '%s' or '%s' expected.\n"),'global','locale');
+                               Scierror(999,_("%s: Wrong first input argument: '%s' or '%s' expected.\n"),"global","locale");
                                return 0;
                        }
                }
index 2d45c82..e13667d 100644 (file)
@@ -7,6 +7,7 @@
 #include "InitTclTk.h"
 #include "Scierror.h"
 #include "localization.h"
+#include "InitializeTclTk.h"
 /*--------------------------------------------------------------------------*/
 int C2F(sci_TCL_DeleteInterp) _PARAMS((char *fname,unsigned long l))
 {
index 57bd74a..ea1ee0d 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef __INITTCLTK__
 #define __INITTCLTK__
 
-#include "TCL_Global.h"
+/*#include "TCL_Global.h"*/
 #include "BOOL.h"
 
 /**
index f965af4..92fce32 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef __SCILABEVAL_H__
 #define __SCILABEVAL_H__
 
+#include "TCL_Global.h"
+
 /**
  * @TODO add comment
  *