From: Sara Golemon Date: Fri, 25 Oct 2013 20:57:53 +0000 (-0700) Subject: Add missing define guard for folly-config.h X-Git-Tag: v0.22.0~809 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8fcf9c21035567b6f2be68089e3f44a9a555676d;p=folly.git 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 --- 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 \