Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955

llvm-svn: 342073
diff --git a/libcxx/include/optional b/libcxx/include/optional
index a76f8d1..9ef0aac 100644
--- a/libcxx/include/optional
+++ b/libcxx/include/optional
@@ -156,6 +156,7 @@
 #include <stdexcept>
 #include <type_traits>
 #include <utility>
+#include <version>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header