Merge pull request #2702 from poettering/resolved-iterate-fix

resolved iteration fix
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2016-02-29 23:18:16 -05:00
7 changed files with 59 additions and 42 deletions
+6
View File
@@ -361,6 +361,12 @@ static inline unsigned long ALIGN_POWER2(unsigned long u) {
_found; \
})
#define SWAP_TWO(x, y) do { \
typeof(x) _t = (x); \
(x) = (y); \
(y) = (_t); \
} while (false)
/* Define C11 thread_local attribute even on older gcc compiler
* version */
#ifndef thread_local