summaryrefslogtreecommitdiffstats
path: root/src/pfree_whole.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-04-06 09:08:26 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-04-06 09:08:26 +0200
commit3babfb3deb5a81213f9b64517e1e7db1cf5f9ce0 (patch)
tree0efc15958222442c7e80c0213a7a1b37366f85f4 /src/pfree_whole.c
parent39b6eb0e154bac7333e88ee68ea7f126a06ab829 (diff)
Support for ntfs-3g_ntfsprogs
Diffstat (limited to 'src/pfree_whole.c')
-rw-r--r--src/pfree_whole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pfree_whole.c b/src/pfree_whole.c
index 0c600ea..1e49cbb 100644
--- a/src/pfree_whole.c
+++ b/src/pfree_whole.c
@@ -67,7 +67,7 @@ int ask_mode_ext2(const disk_t *disk_car, const partition_t *partition, unsigned
{'W',"Whole","Extract files from whole partition"},
{0,NULL,NULL}
};
-#ifdef HAVE_LIBNTFS
+#if defined(HAVE_LIBNTFS) || defined(HAVE_LIBNTFS3G)
static const struct MenuItem menuNTFS[]=
{
{'F',"Free", "Scan for file from NTFS unallocated space only"},
@@ -128,7 +128,7 @@ int ask_mode_ext2(const disk_t *disk_car, const partition_t *partition, unsigned
else if(partition->upart_type==UP_FAT32)
command = wmenuSelect_ext(window, 23, 8, 0, menuFAT32, 11,
options, MENU_VERT | MENU_VERT_WARN | MENU_BUTTON, &menu,NULL);
-#ifdef HAVE_LIBNTFS
+#if defined(HAVE_LIBNTFS) || defined(HAVE_LIBNTFS3G)
else if(partition->upart_type==UP_NTFS)
command = wmenuSelect_ext(window, 23, 8, 0, menuNTFS, 11,
options, MENU_VERT | MENU_VERT_WARN | MENU_BUTTON, &menu,NULL);