]> wimlib.net Git - wimlib/blobdiff - src/lz_sarray.c
Use libdivsufsort-lite, not the full libdivsufsort
[wimlib] / src / lz_sarray.c
index 3d8484e41b4bf741cefcc4604499e332e3b55121..82ac97b96f749094a59cef02a3f4f16b77cbdc25 100644 (file)
 #  include "config.h"
 #endif
 
+#include "wimlib/divsufsort.h"
 #include "wimlib/lz_sarray.h"
 #include "wimlib/util.h"
-#include "divsufsort/divsufsort.h"
 #include <string.h>
 
-#define DIVSUFSORT_TMP1_SIZE (256 * sizeof(saidx_t))      /* bucket_A  */
-#define DIVSUFSORT_TMP2_SIZE (256 * 256 * sizeof(saidx_t)) /* bucket_B  */
-
 /* If ENABLE_LZ_DEBUG is defined, verify that the suffix array satisfies its
  * definition.
  *