summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-12 09:48:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-12 09:48:29 +0100
commit931615a2e0c1069c161bf2c9516732f576f20ee3 (patch)
tree9a195f6cc8da39dcc64eb8984189589e5a974f10 /config.h.in
parent25db12ee3fce3a41c1fd907373ead67015cef6ed (diff)
downloadrspamd-931615a2e0c1069c161bf2c9516732f576f20ee3.tar.gz
rspamd-931615a2e0c1069c161bf2c9516732f576f20ee3.zip
[Feature] Further micro-optimizations for hashing and shingles
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index d858f65c6..c837500f6 100644
--- a/config.h.in
+++ b/config.h.in
@@ -323,8 +323,10 @@ typedef off_t goffset;
# define RSPAMD_ALIGNED(x) __declspec(align(x))
#elif defined(__GNUC__)
# define RSPAMD_ALIGNED(x) __attribute__((aligned(x)))
+# define RSPAMD_OPTIMIZE(x) __attribute__((__optimize__ (x)))
#else
# define RSPAMD_ALIGNED(x)
+# define RSPAMD_OPTIMIZE(x)
#endif
#endif