Changeset View
Changeset View
Standalone View
Standalone View
devel/argdata/files/patch-max_align_t
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/argdata.h | |||||
+++ src/argdata.h | |||||
@@ -34,7 +34,11 @@ | |||||
#define ARGDATA_MAX_ALIGN __declspec(align(8)) | |||||
#else | |||||
#include <stdalign.h> | |||||
-#define ARGDATA_MAX_ALIGN alignas(max_align_t) | |||||
+struct argdata_max_align { | |||||
+ long long a; | |||||
+ long double b; | |||||
+}; | |||||
+#define ARGDATA_MAX_ALIGN alignas(struct argdata_max_align) | |||||
#endif | |||||
struct timespec; |