From d0f3cfeb9bd4154b27d09bf0a560cb0f7fbb4b72 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 10 Aug 2020 06:39:13 +0000 Subject: [PATCH] Global: Remove some unused header code. --- Common/Common.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Common/Common.h b/Common/Common.h index afd4176a10..9fffa42922 100644 --- a/Common/Common.h +++ b/Common/Common.h @@ -33,8 +33,6 @@ #define LOGGING 1 #endif -#define STACKALIGN - #include "Log.h" #include "CommonTypes.h" #include "CommonFuncs.h" @@ -45,17 +43,7 @@ void operator =(const t &other) = delete; #endif -#ifdef __APPLE__ -// The Darwin ABI requires that stack frames be aligned to 16-byte boundaries. -// This is only needed on i386 gcc - x86_64 already aligns to 16 bytes. -#if defined __i386__ && defined __GNUC__ -#undef STACKALIGN -#define STACKALIGN __attribute__((__force_align_arg_pointer__)) -#endif - -#define CHECK_HEAP_INTEGRITY() - -#elif defined(_WIN32) +#if defined(_WIN32) // Memory leak checks #define CHECK_HEAP_INTEGRITY()