Skip to content

Commit f5ccca4

Browse files
committed
Do not redefine ALIGN_UP() in test_helpers.h
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 2badb12 commit f5ccca4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/common/test_helpers.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ static inline void UT_OUT(const char *format, ...) {
7070
(unsigned long long)(rhs)), \
7171
0)))
7272

73+
#ifndef ALIGN_UP
7374
#define ALIGN_UP(size, align) (((size) + (align)-1) & ~((align)-1))
75+
#endif
7476

7577
int bufferIsFilledWithChar(void *ptr, size_t size, char c);
7678

0 commit comments

Comments
 (0)