Builds again with ENABLE_DRD_CONSISTENCY_CHECKS defined.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11328 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/drd/drd_load_store.c b/drd/drd_load_store.c
index 2b6d6f5..c0e9ae4 100644
--- a/drd/drd_load_store.c
+++ b/drd/drd_load_store.c
@@ -149,8 +149,8 @@
 {
 #ifdef ENABLE_DRD_CONSISTENCY_CHECKS
    /* The assert below has been commented out because of performance reasons.*/
-   tl_assert(thread_get_running_tid()
-             == VgThreadIdToDrdThreadId(VG_(get_running_tid())));
+   tl_assert(DRD_(thread_get_running_tid)()
+             == DRD_(VgThreadIdToDrdThreadId)(VG_(get_running_tid())));
 #endif
 
    if (DRD_(running_thread_is_recording_loads)()
@@ -215,8 +215,8 @@
 {
 #ifdef ENABLE_DRD_CONSISTENCY_CHECKS
    /* The assert below has been commented out because of performance reasons.*/
-   tl_assert(thread_get_running_tid()
-             == VgThreadIdToDrdThreadId(VG_(get_running_tid())));
+   tl_assert(DRD_(thread_get_running_tid)()
+             == DRD_(VgThreadIdToDrdThreadId)(VG_(get_running_tid())));
 #endif
 
    if (DRD_(running_thread_is_recording_stores)()