From 8fcf9c21035567b6f2be68089e3f44a9a555676d Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Fri, 25 Oct 2013 13:57:53 -0700 Subject: [PATCH] Add missing define guard for folly-config.h 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/folly/detail/Clock.h b/folly/detail/Clock.h index 8f6e6a4f..d12e8f5d 100644 --- a/folly/detail/Clock.h +++ b/folly/detail/Clock.h @@ -20,7 +20,9 @@ #include #include +#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 \ -- 2.34.1