From 11810e05e40e24de14a3f0213f978853ba632e9f Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 9 Mar 2012 09:39:48 +0000 Subject: Using the _DEBUG macro for *nix debug builds as well; trying to force 8-byte alignment on critical sections ( http://forum.mc-server.org/showthread.php?tid=384 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@387 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cCriticalSection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/cCriticalSection.h') diff --git a/source/cCriticalSection.h b/source/cCriticalSection.h index 414c970f7..0a149a95a 100644 --- a/source/cCriticalSection.h +++ b/source/cCriticalSection.h @@ -19,10 +19,10 @@ private: #ifdef _WIN32 CRITICAL_SECTION m_CriticalSection; #else // _WIN32 - void* m_CriticalSectionPtr; // Pointer to a CRITICAL_SECTION object - void* m_Attributes; + void* m_CriticalSectionPtr ALIGN_8; // Pointer to a CRITICAL_SECTION object + void* m_Attributes ALIGN_8; #endif // else _WIN32 -}; +} ALIGN_8; -- cgit v1.2.3