diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-19 16:15:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-19 16:15:04 +0000 |
commit | 53b7abaeab29e89d9631a8d8dedab85f0b5ad55c (patch) | |
tree | e013839cb2d01e071bb197e601ba6893d2f35c37 | |
parent | e313c9284875c34c066edebc78acdc898b7e743e (diff) | |
parent | ee93f6dd1ed9e52575d71b46ec625af16e1e7219 (diff) | |
download | rspamd-53b7abaeab29e89d9631a8d8dedab85f0b5ad55c.tar.gz rspamd-53b7abaeab29e89d9631a8d8dedab85f0b5ad55c.zip |
Merge pull request #2635 from philfry/fix_preproc
[Minor] Fix preprocessor syntax for old compilers
-rw-r--r-- | src/libutil/mem_pool.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/mem_pool.h b/src/libutil/mem_pool.h index 9b6f690c7..33ada31dc 100644 --- a/src/libutil/mem_pool.h +++ b/src/libutil/mem_pool.h @@ -25,18 +25,18 @@ struct f_str_s; # if __has_attribute(alloc_size) # define RSPAMD_ATTR_ALLOC_SIZE(pos) __attribute__((alloc_size(pos))) # else -# #define RSPAMD_ATTR_ALLOC_SIZE(pos) +# define RSPAMD_ATTR_ALLOC_SIZE(pos) # endif # if __has_attribute(assume_aligned) # define RSPAMD_ATTR_ALLOC_ALIGN(al) __attribute__((assume_aligned(al))) # else -# #define RSPAMD_ATTR_ALLOC_ALIGN(al) +# define RSPAMD_ATTR_ALLOC_ALIGN(al) # endif # if __has_attribute(returns_nonnull) # define RSPAMD_ATTR_RETURNS_NONNUL __attribute__((returns_nonnull)) # else -# #define RSPAMD_ATTR_RETURNS_NONNUL +# define RSPAMD_ATTR_RETURNS_NONNUL # endif #else #define RSPAMD_ATTR_ALLOC_SIZE(pos) |