8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Make buildable with VC6. If other compilers reject it, it will need an #ifdef.

This commit is contained in:
robocop 2006-11-05 04:04:41 +00:00
parent 62f79bd2c8
commit 43b86769db

View File

@ -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