aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_db.h
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2022-11-15 02:47:10 +0300
committerWohlstand <admin@wohlnet.ru>2022-11-15 02:47:10 +0300
commit034cb1c66ed3956b63b69aa4cf2049b6ba295524 (patch)
tree8c8c11ca54e9b02bd6da2e30298fedec36e0599d /src/adlmidi_db.h
parentf5074be87c160d8e1e7d5267c5b87aa354188749 (diff)
downloadlibADLMIDI-034cb1c66ed3956b63b69aa4cf2049b6ba295524.tar.gz
libADLMIDI-034cb1c66ed3956b63b69aa4cf2049b6ba295524.tar.bz2
libADLMIDI-034cb1c66ed3956b63b69aa4cf2049b6ba295524.zip
adlmidi_db.h: Don't pack structures on ARM64
An attempt to resolve the "pointer not aligned at address" CLang error
Diffstat (limited to 'src/adlmidi_db.h')
-rw-r--r--src/adlmidi_db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi_db.h b/src/adlmidi_db.h
index 1d4f0bf..0efceb6 100644
--- a/src/adlmidi_db.h
+++ b/src/adlmidi_db.h
@@ -31,7 +31,7 @@
#include <stddef.h>
#include <vector>
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__aarch64__)
#define ATTRIB_PACKED __attribute__((__packed__))
#else
#define ATTRIB_PACKED