diff options
author | Kostya Serebryany <kcc@google.com> | 2016-06-07 18:29:10 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-06-07 18:29:10 +0000 |
commit | a3fbfc4ca01d5ce40cc8b90e00a771bf32a4353e (patch) | |
tree | 0f4472d43228c39f2565f705d45f0484c5120b73 /test/scudo | |
parent | a83a462d1f036fee4858cb655b820149775ccd09 (diff) |
[scudo] trying to fix the bot: aligned_alloc is not known there
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@272037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/scudo')
-rw-r--r-- | test/scudo/memalign.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scudo/memalign.cpp b/test/scudo/memalign.cpp index 01526ca3d..9cbd67e74 100644 --- a/test/scudo/memalign.cpp +++ b/test/scudo/memalign.cpp @@ -5,6 +5,8 @@ // Tests that the various aligned allocation functions work as intended. Also // tests for the condition where the alignment is not a power of 2. +#define __USE_ISOC11 // for aligned_alloc + #include <assert.h> #include <malloc.h> #include <stdlib.h> |