Skip to content

Commit 2c4443f

Browse files
authored
Merge pull request #85 from dparrish/fix_versioning_backward_compatability_v2
Return #defs for LIBCLI_VERISON_MINOR and REVISION pointing to correc…
2 parents 05070e9 + 9a59da8 commit 2c4443f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

libcli.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ extern "C" {
1616
#define LIBCLI_VERSION_REVISION 7
1717
#define LIBCLI_VERSION ((LIBCLI_VERSION_MAJOR << 16) | (LIBCLI_VERSION_MINOR << 8) | LIBCLI_VERSION_REVISION)
1818

19+
// for backward compatability
20+
#define LIBCLI_VERISON_MINOR LIBCLI_VERSION_MINOR
21+
#define LIBCLI_VERISON_REVISION LIBCLI_VERSION_REVISION
22+
23+
1924
#define CLI_OK 0
2025
#define CLI_ERROR -1
2126
#define CLI_QUIT -2

0 commit comments

Comments
 (0)