Use LIBEWF_VERSION_STRING instead of LIBEWF_VERSION if available

This commit is contained in:
Christophe Grenier 2008-03-20 22:19:00 +01:00
parent aaf2567e74
commit 0bcf5eddc3

View file

@ -246,7 +246,9 @@ static int fewf_nowrite(disk_t *disk_car,const unsigned int count, const void *n
const char*td_ewf_version(void)
{
#ifdef LIBEWF_VERSION
#ifdef LIBEWF_VERSION_STRING
return LIBEWF_VERSION_STRING;
#elif defined(LIBEWF_VERSION)
return LIBEWF_VERSION;
#else
return "available";