[compiler-rt] r272037 - [scudo] trying to fix the bot: aligned_alloc is not known there
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 7 11:29:10 PDT 2016
Author: kcc
Date: Tue Jun 7 13:29:10 2016
New Revision: 272037
URL: http://llvm.org/viewvc/llvm-project?rev=272037&view=rev
Log:
[scudo] trying to fix the bot: aligned_alloc is not known there
Modified:
compiler-rt/trunk/test/scudo/memalign.cpp
Modified: compiler-rt/trunk/test/scudo/memalign.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/scudo/memalign.cpp?rev=272037&r1=272036&r2=272037&view=diff
==============================================================================
--- compiler-rt/trunk/test/scudo/memalign.cpp (original)
+++ compiler-rt/trunk/test/scudo/memalign.cpp Tue Jun 7 13:29:10 2016
@@ -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>
More information about the llvm-commits
mailing list