Skip to content

Commit

Permalink
fix build with GDAL1 (followup 4f76722)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 19, 2018
1 parent 3e41230 commit c23c3d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/georeferencer/qgsgeoreftransform.cpp
Expand Up @@ -26,6 +26,10 @@
#include <cassert>
#include <limits>

#if !defined(GDAL_COMPUTE_VERSION) || GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(2,0,0)
#define CPLsnprintf snprintf
#endif

/**
* A simple transform which is paremetrized by a translation and anistotropic scale.
*/
Expand Down

0 comments on commit c23c3d2

Please sign in to comment.