Permalink
Browse files

if WIN32 include <windows.h>

windows.h is needed for GetExceptionCode()
  • Loading branch information...
lydonchandra committed Nov 30, 2015
1 parent a7f5300 commit 9258c65a2ae6ac661e8ec00f4430efefa45b409e
Showing with 5 additions and 0 deletions.
  1. +5 −0 mapscript/mapscript.i
@@ -58,6 +58,11 @@
#include "pygdioctx/pygdioctx.h"
#endif
#if defined(WIN32) && defined(SWIGCSHARP)
/* <windows.h> is needed for GetExceptionCode() for unhandled exception */
#include <windows.h>
#endif
%}
/* Problem with SWIG CSHARP typemap for pointers */

0 comments on commit 9258c65

Please sign in to comment.