summaryrefslogtreecommitdiffstats
path: root/src/ewf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-03-20 22:19:00 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-03-20 22:19:00 +0100
commit0bcf5eddc3b25963df9734df5b499e05e007e2bc (patch)
tree6810038b15213e99e08c178185eac0090426479d /src/ewf.c
parentaaf2567e74201e74e247e1058e0e7fa362a5dd2f (diff)
Use LIBEWF_VERSION_STRING instead of LIBEWF_VERSION if available
Diffstat (limited to 'src/ewf.c')
-rw-r--r--src/ewf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ewf.c b/src/ewf.c
index ed45d5d..3212404 100644
--- a/src/ewf.c
+++ b/src/ewf.c
@@ -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";