Make format (on recent version-related code)

pull/961/head
Stephen Shelton 5 years ago
parent 5d3cb8f405
commit 8f6dd132ff

@ -1,7 +1,8 @@
#pragma once #pragma once
// Don't include this file directly but rather go through version.hpp instead. This is only here so // Don't include this file directly but rather go through version.hpp instead.
// version.cpp.in and the weird archaic windows build recipies can use the version. // This is only here so version.cpp.in and the weird archaic windows build
// recipies can use the version.
#define LLARP_NAME "lokinet" #define LLARP_NAME "lokinet"
@ -22,6 +23,7 @@
#define MAKE_TRIPLET(X, Y, Z) TRIPLET_CAT(X, ., Y, ., Z) #define MAKE_TRIPLET(X, Y, Z) TRIPLET_CAT(X, ., Y, ., Z)
#define TRIPLET_CAT(X, D1, Y, D2, Z) X##D1##Y##D2##Z #define TRIPLET_CAT(X, D1, Y, D2, Z) X##D1##Y##D2##Z
#define LLARP_VERSION_TRIPLET MAKE_TRIPLET(LLARP_VERSION_MAJ, LLARP_VERSION_MIN, LLARP_VERSION_PATCH) #define LLARP_VERSION_TRIPLET \
MAKE_TRIPLET(LLARP_VERSION_MAJ, LLARP_VERSION_MIN, LLARP_VERSION_PATCH)
#endif #endif

@ -13,4 +13,4 @@ namespace llarp
extern const char* const RELEASE_MOTTO; extern const char* const RELEASE_MOTTO;
extern const char* const DEFAULT_NETID; extern const char* const DEFAULT_NETID;
} } // namespace llarp

Loading…
Cancel
Save