Codemod: use #include angle brackets in folly and thrift
[folly.git] / folly / Traits.h
index 4d6deeb5628799cc4a61d0964411588586ba8589..2b94df1360effe21828adedb51b864e7d2282116 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 Facebook, Inc.
+ * Copyright 2014 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #include <memory>
 #include <limits>
 #include <type_traits>
+#include <functional>
 
-#include "folly/Portability.h"
+#include <folly/Portability.h>
 
-// libc++ doesn't provide this header
-#if !FOLLY_USE_LIBCPP
+// libc++ doesn't provide this header, nor does msvc
+#ifdef FOLLY_HAVE_BITS_CXXCONFIG_H
 // This file appears in two locations: inside fbcode and in the
 // libstdc++ source code (when embedding fbstring as std::string).
 // To aid in this schizophrenic use, two macros are defined in