aboutsummaryrefslogtreecommitdiffstats
path: root/common/threads.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-06-01 17:07:25 -0700
committerChris Robinson <[email protected]>2023-06-01 17:07:25 -0700
commit650a14631226b1b9423c961b1f53b5db673cc88f (patch)
tree2d8a42fd0ad4421d69f71c31e8e547f009fbf0b7 /common/threads.h
parenta91ac01004332d59370c5d6210e1605cb8f708c6 (diff)
Define FORCE_ALIGN in config.h
Diffstat (limited to 'common/threads.h')
-rw-r--r--common/threads.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/common/threads.h b/common/threads.h
index 62d80828..1ef037bb 100644
--- a/common/threads.h
+++ b/common/threads.h
@@ -1,19 +1,6 @@
#ifndef AL_THREADS_H
#define AL_THREADS_H
-#if defined(__GNUC__) && defined(__i386__)
-/* force_align_arg_pointer may be required for proper stack alignment when SSE
- * code is used. GCC generates code with the assumption the stack pointer is
- * suitably aligned, while some systems (Windows, QNX) do not guarantee non-
- * exported functions will be properly aligned when called externally, and
- * older apps for other systems may have been built with a lower stack
- * alignment than expected by newer builds.
- */
-#define FORCE_ALIGN __attribute__((force_align_arg_pointer))
-#else
-#define FORCE_ALIGN
-#endif
-
#if defined(__APPLE__)
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>