[libcxxabi] r299087 - [libc++abi] Remove unistd.h include

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 30 09:27:10 PDT 2017


Author: smeenai
Date: Thu Mar 30 11:27:09 2017
New Revision: 299087

URL: http://llvm.org/viewvc/llvm-project?rev=299087&view=rev
Log:
[libc++abi] Remove unistd.h include

This was originally there for the _POSIX_THREADS define, to detect the
presence of pthreads. That went away with the externalized threading
support, so the include can go away too.

config.h is now completely empty. A follow-up commit will remove it
entirely.

Modified:
    libcxxabi/trunk/src/config.h

Modified: libcxxabi/trunk/src/config.h
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/config.h?rev=299087&r1=299086&r2=299087&view=diff
==============================================================================
--- libcxxabi/trunk/src/config.h (original)
+++ libcxxabi/trunk/src/config.h Thu Mar 30 11:27:09 2017
@@ -14,6 +14,4 @@
 #ifndef LIBCXXABI_CONFIG_H
 #define LIBCXXABI_CONFIG_H
 
-#include <unistd.h>
-
 #endif // LIBCXXABI_CONFIG_H




More information about the cfe-commits mailing list