From 43b86769db1524af72badb6e13a0a3eb38cc11b9 Mon Sep 17 00:00:00 2001 From: robocop Date: Sun, 5 Nov 2006 04:04:41 +0000 Subject: [PATCH] Make buildable with VC6. If other compilers reject it, it will need an #ifdef. --- src/jrd/DatabaseSnapshot.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jrd/DatabaseSnapshot.cpp b/src/jrd/DatabaseSnapshot.cpp index a1eca35f56..7787c4ccde 100644 --- a/src/jrd/DatabaseSnapshot.cpp +++ b/src/jrd/DatabaseSnapshot.cpp @@ -289,8 +289,9 @@ void DatabaseSnapshot::SharedMemory::checkMutex(const TEXT* string, int state) void DatabaseSnapshot::SharedMemory::init(void* arg, SH_MEM_T* shmemData, bool initialize) { - DatabaseSnapshot::SharedMemory* shmem = - (DatabaseSnapshot::SharedMemory*) arg; +// DatabaseSnapshot::SharedMemory* shmem = +// (DatabaseSnapshot::SharedMemory*) arg; + SharedMemory* shmem = (SharedMemory*) arg; fb_assert(shmem); #ifdef WIN_NT