scilab: fix unions test

This commit is contained in:
Simon Marchetto 2014-10-13 11:34:16 +02:00
commit 455e4a468b

View file

@ -4,11 +4,15 @@ This testcase checks that unions can be set and read.
%module unions
#if defined(SWIGSCILAB)
%rename(EmbedUnion) EmbeddedUnionTest;
#endif
%{
/* Must undefine small to work on Windows. small is defined as a
char in rpcndr.h */
#ifdef small
#undef small
#undef small
#endif
%}