X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwim.c;h=880fa7ec216767cd204818d69935b4dbec43cf66;hp=51fc1f0452c6ddef1c9f87bf38e3e9f55bde0b35;hb=a0114ec301a99e4bd5605bbef9631d8c21285636;hpb=2f79af1ffd1f92db74c69117f0c2401826126b92 diff --git a/src/wim.c b/src/wim.c index 51fc1f04..880fa7ec 100644 --- a/src/wim.c +++ b/src/wim.c @@ -37,7 +37,6 @@ #include "wimlib/security.h" #include "wimlib/wim.h" #include "wimlib/xml.h" -#include "wimlib/version.h" #ifdef __WIN32__ # include "wimlib/win32.h" /* for realpath() replacement */ @@ -917,7 +916,9 @@ test_locale_ctype_utf8(void) WIMLIBAPI u32 wimlib_get_version(void) { - return WIMLIB_VERSION_CODE; + return (WIMLIB_MAJOR_VERSION << 20) | + (WIMLIB_MINOR_VERSION << 10) | + WIMLIB_PATCH_VERSION; } static bool lib_initialized = false;