summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-07-20 14:23:24 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2017-07-21 15:41:51 +0200
commit5a5297974b728195a5c5aaf1dcb494dc0f34d8eb (patch)
tree49dd76f28e4e72a8e5f62beb4f212927393925d3 /src
parentRemove smart pointer macros (diff)
downloadcuberite-5a5297974b728195a5c5aaf1dcb494dc0f34d8eb.tar
cuberite-5a5297974b728195a5c5aaf1dcb494dc0f34d8eb.tar.gz
cuberite-5a5297974b728195a5c5aaf1dcb494dc0f34d8eb.tar.bz2
cuberite-5a5297974b728195a5c5aaf1dcb494dc0f34d8eb.tar.lz
cuberite-5a5297974b728195a5c5aaf1dcb494dc0f34d8eb.tar.xz
cuberite-5a5297974b728195a5c5aaf1dcb494dc0f34d8eb.tar.zst
cuberite-5a5297974b728195a5c5aaf1dcb494dc0f34d8eb.zip
Diffstat (limited to 'src')
-rw-r--r--src/Globals.h7
-rw-r--r--src/OSSupport/CriticalSection.h2
2 files changed, 1 insertions, 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;
+};