From eccd4c00ca07ce8b1ae0484478fb74522d639c77 Mon Sep 17 00:00:00 2001 From: dimitr Date: Mon, 4 Feb 2008 19:19:05 +0000 Subject: [PATCH] Cleanup. --- src/jrd/DatabaseSnapshot.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/jrd/DatabaseSnapshot.h b/src/jrd/DatabaseSnapshot.h index c13dbb4169..f484484f23 100644 --- a/src/jrd/DatabaseSnapshot.h +++ b/src/jrd/DatabaseSnapshot.h @@ -38,14 +38,13 @@ class DatabaseSnapshot { class SharedMemory { static const size_t VERSION; static const size_t DEFAULT_SIZE; - static const size_t SEMAPHORES; struct Header { size_t version; size_t length; - #ifndef WIN_NT +#ifndef WIN_NT MTX_T mutex; - #endif +#endif }; public: @@ -70,9 +69,9 @@ class DatabaseSnapshot { static void init(void*, SH_MEM_T*, bool); SH_MEM_T handle; - #ifdef WIN_NT +#ifdef WIN_NT MTX_T mutex; - #endif +#endif Header* base; };