diff options
Diffstat (limited to 'src/lib/third_party')
-rw-r--r-- | src/lib/third_party/src/ahocorasick.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/third_party/src/ahocorasick.c b/src/lib/third_party/src/ahocorasick.c index bb695f037..745afa30e 100644 --- a/src/lib/third_party/src/ahocorasick.c +++ b/src/lib/third_party/src/ahocorasick.c @@ -746,7 +746,9 @@ static void node_release(AC_NODE_t * thiz, int free_pattern) } /* Nonzero if X is not aligned on a "long" boundary. */ +#undef UNALIGNED /* Windows defined it but differently from what Aho expects */ #define UNALIGNED(X) ((long)X & (__SIZEOF_LONG__ - 1)) + #define LBLOCKSIZE __SIZEOF_LONG__ #if __SIZEOF_LONG__ == 4 |