#ifdef WITH_NTFS_3g in clone_lookup_table_entry()
authorEric Biggers <ebiggers3@gmail.com>
Sun, 28 Oct 2012 06:30:21 +0000 (01:30 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 28 Oct 2012 06:30:21 +0000 (01:30 -0500)
src/lookup_table.c

index 3d66ca18246be543cb63037d34af60989a0cb1f8..79874f306d3c16967cc7965818cd7f390fd36028 100644 (file)
@@ -99,6 +99,7 @@ clone_lookup_table_entry(const struct lookup_table_entry *old)
                memcpy(new->attached_buffer, old->attached_buffer,
                       wim_resource_size(old));
                break;
+#ifdef WITH_NTFS_3G
        case RESOURCE_IN_NTFS_VOLUME:
                if (old->ntfs_loc) {
                        struct ntfs_location *loc;
@@ -120,6 +121,7 @@ clone_lookup_table_entry(const struct lookup_table_entry *old)
                               loc->stream_name_utf16_num_chars * 2);
                }
                break;
+#endif
        }
        return new;
 out_free: