================ Comment at: src/cxa_exception_storage.cpp:35 @@ -34,2 +34,3 @@ #include <pthread.h> +#include <cstdlib> // for calloc, free, atexit ---------------- Should this be:
#include <unistd.h> #ifdef _POSIX_THREADS #include <pthread.h> #endif so that this will also compile on a system without pthread.h? http://reviews.llvm.org/D3386 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
