X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=TextStorage.h;fp=TextStorage.h;h=6294c6bda9484e37aac9bad6e3e9ac3f96bfda50;hb=89dc22aee980ba16f757cd9a7f77478c2da50051;hp=24633fdc9109a494cf551d290c622ee67676aa25;hpb=443151511a86083b21c1c06eb610f86b3aed35be;p=SXSI%2FTextCollection.git diff --git a/TextStorage.h b/TextStorage.h index 24633fd..6294c6b 100644 --- a/TextStorage.h +++ b/TextStorage.h @@ -23,7 +23,16 @@ #include "TextCollection.h" #include "Tools.h" + #include "incbwt/bits/deltavector.h" +// Re-define word size to ulong: +#undef W +#if __WORDSIZE == 64 +# define W 64 +#else +# define W 32 +#endif + #include #include