temporary include stdlib.h in symbolizer to fix Mac/Win build

llvm-svn: 157808
This commit is contained in:
Alexey Samsonov 2012-06-01 07:41:47 +00:00
parent 02845c1dd4
commit cad2e4e6c2
1 changed files with 1 additions and 5 deletions

View File

@ -16,11 +16,7 @@
#include "sanitizer_symbolizer.h"
// FIXME: replace library malloc/free with internal_malloc/internal_free
// that would be provided by ASan/TSan run-time libraries.
#if defined(__linux__)
# include <malloc.h>
#elif defined(__APPLE__)
# include <malloc/malloc.h>
#endif
#include <stdlib.h>
namespace __sanitizer {