diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-03-11 10:05:28 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-03-11 10:05:28 -0500 |
commit | ef31c8862f4ed86cfa4987b2ec58468269457f87 (patch) | |
tree | 67b74f61938b17eb38ef8ca929eb053d126b541b /src/or/config.h | |
parent | db263442af565fde0d54398da7cc80a66469d273 (diff) | |
download | tor-ef31c8862f4ed86cfa4987b2ec58468269457f87.tar.gz tor-ef31c8862f4ed86cfa4987b2ec58468269457f87.zip |
Add changes file for 18448; refactor
(I've made it so FreeBSD || FreeBSD_kernel is enough to ensure that
we think you might have ipfw, and so that the logic is all in one
place.)
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h index c30164515d..02121cf95c 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -14,6 +14,10 @@ #include "testsupport.h" +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(DARWIN) +#define KERNEL_MAY_SUPPORT_IPFW +#endif + MOCK_DECL(const char*, get_dirportfrontpage, (void)); MOCK_DECL(const or_options_t *, get_options, (void)); MOCK_DECL(or_options_t *, get_options_mutable, (void)); |