Make folly::getCurrentThreadId() return a thread ID on OSX
[folly.git] / folly / GroupVarint.cpp
index 2b5462459065218a07813c944b61ae058d34ca57..cc5740ff20ebf78781a0709e74380437e91b91cc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 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.
@@ -14,8 +14,9 @@
  * limitations under the License.
  */
 
-#include "folly/GroupVarint.h"
+#include <folly/GroupVarint.h>
 
+#if HAVE_GROUP_VARINT
 namespace folly {
 
 const uint32_t GroupVarint32::kMask[] = {
@@ -29,4 +30,4 @@ const uint64_t GroupVarint64::kMask[] = {
 };
 
 }  // namespace folly
-
+#endif