From: nvalimak Date: Mon, 9 Feb 2009 11:49:34 +0000 (+0000) Subject: Fixed definition clash X-Git-Url: http://git.nguyen.vg/gitweb/?p=SXSI%2FTextCollection.git;a=commitdiff_plain;h=9df50e6e5e58f746e83b9ad1d539024f82fa8b64 Fixed definition clash git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/TextCollection@160 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- diff --git a/CSA.h b/CSA.h index 4303b53..ec6e890 100644 --- a/CSA.h +++ b/CSA.h @@ -34,6 +34,15 @@ #include #include +// Re-define word size to ulong: +#undef W +#if __WORDSIZE == 64 +# define W 64 +#else +# define W 32 +#endif + + /** * Implementation of the TextCollection interface *