projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e52104
)
Assume GFlags isn't present if FOLLY_HAVE_LIBGFLAGS isn't defined
author
Christopher Dykes
<cdykes@fb.com>
Fri, 15 Jul 2016 21:00:33 +0000
(14:00 -0700)
committer
Facebook Github Bot 6
<facebook-github-bot-6-bot@fb.com>
Fri, 15 Jul 2016 21:08:27 +0000
(14:08 -0700)
Summary: Because, if it follows the same pattern as a normal config flag, it simply won't be defined if it isn't available.
Reviewed By: yfeldblum
Differential Revision:
D3571862
fbshipit-source-id:
3322ceb0ce349de16b29310b66d1333aa04da516
folly/portability/GFlags.h
patch
|
blob
|
history
diff --git
a/folly/portability/GFlags.h
b/folly/portability/GFlags.h
index 87739bb9e75a2433fdf6a0875276fed1dc10edb2..9d88a408a2447d72f314cde3fbab0f0b237ee945 100644
(file)
--- a/
folly/portability/GFlags.h
+++ b/
folly/portability/GFlags.h
@@
-18,7
+18,7
@@
#include <folly/portability/Config.h>
-#if
defined(FOLLY_HAVE_LIBGFLAGS) && (FOLLY_HAVE_LIBGFLAGS == 0)
+#if
!FOLLY_HAVE_LIBGFLAGS
// glog/logging.h is dependent on this implementation detail
// being defined otherwise it undefines all of this -_-....
//