]> wimlib.net Git - wimlib/blobdiff - src/split.c
LZMS compression: use position instead of pointer for delta hash
[wimlib] / src / split.c
index 4df258ac97af06f8e6eed59e0881e1224c2316c9..51c4a91066b905ca722faacc95bcbbed27b76dea 100644 (file)
@@ -26,6 +26,7 @@
 #endif
 
 #include "wimlib.h"
+#include "wimlib/alloca.h"
 #include "wimlib/error.h"
 #include "wimlib/list.h"
 #include "wimlib/lookup_table.h"
 #include "wimlib/wim.h"
 #include "wimlib/write.h"
 
-#ifdef HAVE_ALLOCA_H
-#  include <alloca.h>
-#else
-#  include <stdlib.h>
-#endif
-
 struct swm_part_info {
        struct list_head stream_list;
        u64 size;
@@ -156,8 +151,8 @@ add_stream_to_swm(struct wim_lookup_table_entry *lte, void *_swm_info)
        u64 stream_size;
 
        if (lte_is_partial(lte)) {
-               ERROR("Splitting of WIM containing packed streams is not supported.\n"
-                     "        Export it in the default format first.");
+               ERROR("Splitting of WIM containing solid resources is not supported.\n"
+                     "        Export it in non-solid format first.");
                return WIMLIB_ERR_UNSUPPORTED;
        }
        if (lte->resource_location == RESOURCE_IN_WIM)