Add FreeBSD support to the address sanitizer's atexit_stats.cc test case
authorViktor Kutuzov <vkutuzov@accesssoftek.com>
Wed, 16 Jul 2014 10:05:29 +0000 (10:05 +0000)
committerViktor Kutuzov <vkutuzov@accesssoftek.com>
Wed, 16 Jul 2014 10:05:29 +0000 (10:05 +0000)
Differential Revision: http://reviews.llvm.org/D4524

llvm-svn: 213134

compiler-rt/test/asan/TestCases/atexit_stats.cc

index b5a5fad..be65344 100644 (file)
@@ -7,7 +7,7 @@
 // XFAIL: android
 
 #include <stdlib.h>
-#if !defined(__APPLE__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
 #include <malloc.h>
 #endif
 int *p1 = (int*)malloc(900);