7 Feb
2018
7 Feb
'18
8:53 p.m.
Nikos Mavrogiannopoulos <nmav@redhat.com> writes:
What about extending the macros in version.h with a simple to use combined version number?
I think I'd prefer to leave that out. The formatting is very arbitrary, and any application which needs it can #define NETTLE_COMBINED_VERSION \ ((NETTLE_VERSION_MAJOR << 16) + NETTLE_VERSION_MINOR). or #define NETTLE_AT_LEAST(major, minor) \ ((NETTLE_VERSION_MAJOR << 16) + NETTLE_VERSION_MINOR \
= (((major) << 16) + (minor)))
Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance.