Skip to content
Permalink
Browse files

fix windows build

  • Loading branch information
jef-n committed Oct 12, 2015
1 parent 482420c commit 1be64a5e2ad077ae6df7cf15a313e3220d98fb39
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/core/geometry/qgsgeos.cpp
@@ -49,6 +49,16 @@ email : marco.hugentobler at sourcepole dot com
return r; \
}

#if defined(_MSC_VER) && (_MSC_VER < 1800)
namespace std
{
double round( double d )
{
return d < 0.0 ? ceil( d - 0.5 ) : floor( d + 0.5 );
}
}
#endif

static void throwGEOSException( const char *fmt, ... )
{
va_list ap;

0 comments on commit 1be64a5

Please sign in to comment.
You can’t perform that action at this time.