projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d1c04
)
Add missing define guard for folly-config.h
author
Sara Golemon
<sgolemon@fb.com>
Fri, 25 Oct 2013 20:57:53 +0000
(13:57 -0700)
committer
Sara 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
patch
|
blob
|
history
diff --git
a/folly/detail/Clock.h
b/folly/detail/Clock.h
index 8f6e6a4f4ca02e04e9cf9d800deff240e494c6d5..d12e8f5dd83d717b0d58fb51620a9bc183eba26b 100644
(file)
--- a/
folly/detail/Clock.h
+++ b/
folly/detail/Clock.h
@@
-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 \