summaryrefslogtreecommitdiff
path: root/math/scilab-toolbox-sivp/files/patch-r287
blob: 599bbdf6fbf89b62ce17a7f41893bfe66db89d91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: sci_gateway/cpp/builder_gateway_cpp.sce
===================================================================
--- sci_gateway/cpp/builder_gateway_cpp.sce	(revision 286)
+++ sci_gateway/cpp/builder_gateway_cpp.sce	(revision 287)
@@ -120,7 +120,8 @@
     opencv_libs = [];
   end
 
-
+  inter_cflags = inter_cflags + ' -D__USE_DEPRECATED_STACK_FUNCTIONS__';
+ 
   tbx_build_gateway('gw_sivp', ..
                     gw_cpp_table, ..
                     gw_cpp_files, ..
Index: sci_gateway/cpp/sivp_init.cpp
===================================================================
--- sci_gateway/cpp/sivp_init.cpp	(revision 286)
+++ sci_gateway/cpp/sivp_init.cpp	(revision 287)
@@ -18,11 +18,11 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ***********************************************************************/
 /*--------------------------------------------------------------------------*/
-#include "api_scilab.h"
 #include "localization.h"
 #include "Scierror.h"
 #include "common.h"
 #include "gw_sivp.h"
+#include "api_scilab.h"
 /*--------------------------------------------------------------------------*/
 char sSIVP_PATH[MAX_FILENAME_LENGTH];
 /*--------------------------------------------------------------------------*/