diff options
author | cypherpunks <cypherpunks@torproject.org> | 2016-09-01 17:50:38 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-02-03 09:37:39 -0500 |
commit | 27df23abb675ffeb198bf0c1cc85c4baed77a988 (patch) | |
tree | 9fcb0bbb384188f3be58409bcb7fe5f23cbc3a95 /src/test/test_options.c | |
parent | 0f79fb51e5653cbc82a0066423c833cafb656542 (diff) | |
download | tor-27df23abb675ffeb198bf0c1cc85c4baed77a988.tar.gz tor-27df23abb675ffeb198bf0c1cc85c4baed77a988.zip |
Use the standard OpenBSD preprocessor definition
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r-- | src/test/test_options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c index e822404d18..d5782e9ec0 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -1022,7 +1022,7 @@ test_options_validate__transproxy(void *ignored) ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg); tt_int_op(ret, OP_EQ, -1); -#if !defined(__OpenBSD__) && !defined( DARWIN ) +#if !defined(OpenBSD) && !defined( DARWIN ) tt_str_op(msg, OP_EQ, "pf-divert is a OpenBSD-specific and OS X/Darwin-specific feature."); #else @@ -1091,7 +1091,7 @@ test_options_validate__transproxy(void *ignored) if (msg) { TT_DIE(("Expected NULL but got '%s'", msg)); } -#elif defined(__OpenBSD__) +#elif defined(OpenBSD) tdata = get_options_test_data("TransProxyType pf-divert\n" "TransPort 127.0.0.1:123\n"); ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg); |