Skip to content

Commit

Permalink
repairing the windows build
Browse files Browse the repository at this point in the history
git-svn-id: https://ipvs.informatik.uni-stuttgart.de/SGpp/repos/trunk@5220 4eea3252-f0fb-4393-894d-40516dce545b
  • Loading branch information
Fabian Franzelin committed Nov 10, 2015
1 parent aa6eba1 commit 65c43cf
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pysgpp/pysgpp.i
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

%module(directors="1") pysgpp_swig
// %feature("autodoc", "2");
//%feature("docstring");
// %feature("docstring");

%include "base/src/sgpp/globaldef.hpp"

Expand Down Expand Up @@ -34,6 +34,19 @@
}
}

%{
#include <omp.h>
%}

// -----------------------------------------------------------
// needed for windows wrapper since swig does not understand
// that unsigned int is equal to size_t and generates
// template specifications twice
#ifdef SWIGWIN
typedef unsigned int size_t;
#endif
// -----------------------------------------------------------

%{
#define SWIG_FILE_WITH_INIT
%}
Expand Down

0 comments on commit 65c43cf

Please sign in to comment.