Revision: 14625 Author: adrian.chadd Date: Mon Apr 19 05:44:32 2010 Log: Fix hashed cbdata to again work with valgrind.
http://code.google.com/p/lusca-cache/source/detail?r=14625 Modified: /branches/LUSCA_HEAD/libcb/cbdata.c ======================================= --- /branches/LUSCA_HEAD/libcb/cbdata.c Fri Mar 26 06:11:29 2010 +++ /branches/LUSCA_HEAD/libcb/cbdata.c Mon Apr 19 05:44:32 2010 @@ -73,6 +73,14 @@ #include <string.h> #include "../libcore/valgrind.h" +#if WITH_VALGRIND +#define HASHED_CBDATA 1 +#endif + +#if HASHED_CBDATA +#include "../include/hash.h" +#endif + #include "../include/util.h" #include "../include/Array.h" #include "../include/Stack.h" @@ -86,9 +94,6 @@ #include "cbdata.h" -#if WITH_VALGRIND -#define HASHED_CBDATA 1 -#endif int cbdataCount = 0; -- You received this message because you are subscribed to the Google Groups "lusca-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/lusca-commit?hl=en.
