Skip to content

Commit

Permalink
fixes #1553, needed for #1550
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Dec 8, 2020
1 parent 439b4f5 commit 1ace5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proj_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Rcpp::List CPL_proj_info(int type) {
ans.attr("names") = Rcpp::CharacterVector::create("id", "to_meter",
"name");
int n = 0;
#elif ((PROJ_VERSION_MAJOR == 7 && PROJ_VERSION_MINOR >= 1) || PROJ_VERSION_MAJOR > 7)
#if ((PROJ_VERSION_MAJOR == 7 && PROJ_VERSION_MINOR >= 1) || PROJ_VERSION_MAJOR > 7)
PROJ_UNIT_INFO** units;
units = proj_get_units_from_database(nullptr, nullptr, "linear", false, nullptr);
for (int i = 0; units && units[i]; i++) {
Expand Down

0 comments on commit 1ace5ce

Please sign in to comment.