summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-06-07 18:29:10 +0000
committerKostya Serebryany <kcc@google.com>2016-06-07 18:29:10 +0000
commit86f8d33442725c91c23a9ee1876fa784fa6038ed (patch)
treebee2fb1afe6cf2ac7578e572067ed3f14e532a8e /compiler-rt/test
parentc11e249bfdf406dc609048ca88af406007426630 (diff)
downloadbcm5719-llvm-86f8d33442725c91c23a9ee1876fa784fa6038ed.tar.gz
bcm5719-llvm-86f8d33442725c91c23a9ee1876fa784fa6038ed.zip
[scudo] trying to fix the bot: aligned_alloc is not known there
llvm-svn: 272037
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/scudo/memalign.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/scudo/memalign.cpp b/compiler-rt/test/scudo/memalign.cpp
index 01526ca3d60..9cbd67e747c 100644
--- a/compiler-rt/test/scudo/memalign.cpp
+++ b/compiler-rt/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>
OpenPOWER on IntegriCloud