Skip to content

Commit

Permalink
fix build under Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
Dushistov authored and strk committed Jan 6, 2018
1 parent 230f915 commit 94243cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/geos/geom/Geometry.h
Expand Up @@ -22,8 +22,13 @@
#define GEOS_GEOM_GEOMETRY_H

#ifndef USE_UNSTABLE_GEOS_CPP_API
#ifndef _MSC_VER
# warning "The GEOS C++ API is unstable, please use the C API instead"
# warning "HINT: #include geos_c.h"
#else
#pragma message("The GEOS C++ API is unstable, please use the C API instead")
#pragma message("HINT: #include geos_c.h")
#endif
#endif

#include <geos/export.h>
Expand Down

0 comments on commit 94243cf

Please sign in to comment.