Add missing define guard for folly-config.h
authorSara Golemon <sgolemon@fb.com>
Fri, 25 Oct 2013 20:57:53 +0000 (13:57 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 25 Oct 2013 20:59:52 +0000 (13:59 -0700)
Summary:
Other inclusions of folly-config.h watch for this.
It must have been missed when this file was added.

Test Plan: Fixes Mac OSX build.

Reviewed By: seanc@fb.com

FB internal diff: D1028354

folly/detail/Clock.h

index 8f6e6a4f4ca02e04e9cf9d800deff240e494c6d5..d12e8f5dd83d717b0d58fb51620a9bc183eba26b 100644 (file)
@@ -20,7 +20,9 @@
 #include <ctime>
 #include <cstdint>
 
+#ifndef FOLLY_NO_CONFIG
 #include "folly/folly-config.h"
+#endif
 
 #if FOLLY_HAVE_CLOCK_GETTIME
 #error This should only be used as a workaround for platforms \