diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index c1e819fb2..e45f95f4c 100644 --- a/config.h.in +++ b/config.h.in @@ -472,6 +472,14 @@ typedef off_t goffset; #include <gmime/gmime.h> #endif +#ifndef ALIGN +#if defined(_MSC_VER) +# define ALIGN(x) __declspec(align(x)) +#else +# define ALIGN(x) __attribute__((aligned(x))) +#endif +#endif + /* Forwarded declaration */ struct module_ctx; struct rspamd_config; |