Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gtests/guardedalloc/guardedalloc_alignment_test.cc')
-rw-r--r--tests/gtests/guardedalloc/guardedalloc_alignment_test.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc b/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc
index 38305b388e0..345c3824b63 100644
--- a/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc
+++ b/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc
@@ -2,6 +2,10 @@
#include "testing/testing.h"
+extern "C" {
+#include "BLI_utildefines.h"
+}
+
#include "MEM_guardedalloc.h"
#define CHECK_ALIGNMENT(ptr, align) EXPECT_EQ(0, (size_t)ptr % align)
@@ -48,6 +52,6 @@ TEST(guardedalloc, GuardedAlignedAlloc16)
TEST(guardedalloc, GuardedAlignedAlloc32)
{
MEM_use_guarded_allocator();
- DoBasicAlignmentChecks(16);
+ DoBasicAlignmentChecks(32);
}
#endif