Fixed definition clash
authornvalimak <nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Mon, 9 Feb 2009 11:49:34 +0000 (11:49 +0000)
committernvalimak <nvalimak@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Mon, 9 Feb 2009 11:49:34 +0000 (11:49 +0000)
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/TextCollection@160 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

CSA.h

diff --git a/CSA.h b/CSA.h
index 4303b53..ec6e890 100644 (file)
--- a/CSA.h
+++ b/CSA.h
 #include <alphabet_mapper.h>
 #include <static_sequence.h>
 
+// Re-define word size to ulong:
+#undef W
+#if __WORDSIZE == 64
+#   define W 64
+#else
+#   define W 32
+#endif
+
+
 /**
  * Implementation of the TextCollection interface
  *