Fix compiling with PThread support on Windows... Again...
[folly.git] / folly / gen / Parallel.h
index d1b9979217e5dc2a588f0cdb43b7ef6972cc2830..d4012d17276ee23872374a771156615db76cdc48 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  */
 
-#ifndef FOLLY_GEN_PARALLEL_H_
+#pragma once
 #define FOLLY_GEN_PARALLEL_H_
 
 #include <mutex>
 
-#include "folly/gen/Base.h"
+#include <folly/gen/Base.h>
 
 namespace folly { namespace gen {
 namespace detail {
@@ -105,6 +105,4 @@ Sub sub(Sink sink) {
 
 }} // !namespace folly::gen
 
-#include "folly/gen/Parallel-inl.h"
-
-#endif /* FOLLY_GEN_PARALLEL_H_ */
+#include <folly/gen/Parallel-inl.h>