Skip to content

Commit

Permalink
Statisfy macro parentheses warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mjjbell committed Mar 24, 2024
1 parent 37b3a1a commit 83671f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/util/version.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#define OSRM_VERSION_MAJOR @OSRM_VERSION_MAJOR@
#define OSRM_VERSION_MINOR @OSRM_VERSION_MINOR@
#define OSRM_VERSION_PATCH @OSRM_VERSION_PATCH@
#define OSRM_VERSION_PRERELEASE_BUILD @OSRM_VERSION_PRERELEASE_BUILD@
#define OSRM_VERSION_PRERELEASE_BUILD "@OSRM_VERSION_PRERELEASE_BUILD@"

#define OSRM_VERSION__(A,B,C,D) "v" #A "." #B "." #C #D
#define OSRM_VERSION__(A,B,C,D) "v" #A "." #B "." #C D
#define OSRM_VERSION_(A,B,C,D) OSRM_VERSION__(A,B,C,D)
#define OSRM_VERSION OSRM_VERSION_(OSRM_VERSION_MAJOR, OSRM_VERSION_MINOR, OSRM_VERSION_PATCH, OSRM_VERSION_PRERELEASE_BUILD)

Expand Down

0 comments on commit 83671f3

Please sign in to comment.