summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2016-09-01 17:50:38 +0000
committerDavid Goulet <dgoulet@torproject.org>2017-02-03 09:37:39 -0500
commit27df23abb675ffeb198bf0c1cc85c4baed77a988 (patch)
tree9fcb0bbb384188f3be58409bcb7fe5f23cbc3a95 /src/or/connection_edge.c
parent0f79fb51e5653cbc82a0066423c833cafb656542 (diff)
downloadtor-27df23abb675ffeb198bf0c1cc85c4baed77a988.tar.gz
tor-27df23abb675ffeb198bf0c1cc85c4baed77a988.zip
Use the standard OpenBSD preprocessor definition
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 82d5d3c5a2..ef551048b8 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1959,7 +1959,7 @@ get_pf_socket(void)
if (pf_socket >= 0)
return pf_socket;
-#ifdef OPENBSD
+#if defined(OpenBSD)
/* only works on OpenBSD */
pf = tor_open_cloexec("/dev/pf", O_RDONLY, 0);
#else