From 9c741e645d2c51f59b7cc40bf9ca0a91e1ed51d4 Mon Sep 17 00:00:00 2001 From: nvalimak Date: Mon, 9 Feb 2009 11:41:42 +0000 Subject: [PATCH] Fixed definition clash git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/TextCollection@159 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- CSA.h | 18 ++++++------------ testTextCollection.cpp | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/CSA.h b/CSA.h index e5852b9..4303b53 100644 --- a/CSA.h +++ b/CSA.h @@ -20,18 +20,6 @@ #ifndef _CSA_H_ #define _CSA_H_ -// Include from XMLTree/libcds -#include -#include -#include -#include - -//clash between TextCollection/Tools.h and libcds/includes/basics.h -// Number of bits in ulong vs uint. -#undef W -#undef WW -#undef Wminusone - #include "dynFMI.h" #include "BitRank.h" #include "TextCollection.h" @@ -40,6 +28,12 @@ #include #include +// Include from XMLTree/libcds +#include +#include +#include +#include + /** * Implementation of the TextCollection interface * diff --git a/testTextCollection.cpp b/testTextCollection.cpp index dfa618e..59b6b43 100644 --- a/testTextCollection.cpp +++ b/testTextCollection.cpp @@ -2,13 +2,13 @@ #include #include #include -#include "HeapProfiler.h" using std::cout; using std::endl; using std::cin; using std::string; #include "TextCollection.h" +#include "HeapProfiler.h" using SXSI::TextCollection; void printDocumentResult(TextCollection::document_result dr) -- 2.17.1