From 1137319d54f6692eaf2c4556d7de2d14ad23c9c6 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Tue, 21 Jun 2011 03:32:19 +0000 Subject: [PATCH] Minor changes to preprocessor statements. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1086 7ec92016-0320-0410-acc4-a06ded1c099a --- include/loki/Threads.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/loki/Threads.h b/include/loki/Threads.h index b376eef..13c88c8 100644 --- a/include/loki/Threads.h +++ b/include/loki/Threads.h @@ -52,7 +52,7 @@ #include -#if defined(LOKI_CLASS_LEVEL_THREADING) || defined(LOKI_OBJECT_LEVEL_THREADING) +#if defined( LOKI_CLASS_LEVEL_THREADING ) || defined( LOKI_OBJECT_LEVEL_THREADING ) #define LOKI_DEFAULT_THREADING_NO_OBJ_LEVEL ::Loki::ClassLevelLockable @@ -77,11 +77,11 @@ #endif -#ifndef LOKI_DEFAULT_MUTEX -#define LOKI_DEFAULT_MUTEX ::Loki::Mutex +#if !defined( LOKI_DEFAULT_MUTEX ) + #define LOKI_DEFAULT_MUTEX ::Loki::Mutex #endif -#ifdef LOKI_WINDOWS_H +#if defined( LOKI_WINDOWS_H ) #define LOKI_THREADS_MUTEX(x) CRITICAL_SECTION (x); #define LOKI_THREADS_MUTEX_INIT(x) ::InitializeCriticalSection (x)