From 5a5297974b728195a5c5aaf1dcb494dc0f34d8eb Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Thu, 20 Jul 2017 13:23:24 +0100 Subject: Remove alignment macros --- src/Globals.h | 7 ------- src/OSSupport/CriticalSection.h | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Globals.h b/src/Globals.h index eba3e6d98..e4adb166c 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -38,10 +38,6 @@ #define OBSOLETE __declspec(deprecated) - // No alignment needed in MSVC - #define ALIGN_8 - #define ALIGN_16 - #define FORMATSTRING(formatIndex, va_argsIndex) // MSVC has its own custom version of zu format @@ -90,9 +86,6 @@ #define OBSOLETE __attribute__((deprecated)) - #define ALIGN_8 __attribute__((aligned(8))) - #define ALIGN_16 __attribute__((aligned(16))) - // Some portability macros :) #define stricmp strcasecmp diff --git a/src/OSSupport/CriticalSection.h b/src/OSSupport/CriticalSection.h index 917957aeb..f20d30e3d 100644 --- a/src/OSSupport/CriticalSection.h +++ b/src/OSSupport/CriticalSection.h @@ -45,7 +45,7 @@ private: std::thread::id m_OwningThreadID; std::recursive_mutex m_Mutex; -} ALIGN_8; +}; -- cgit v1.2.3