summaryrefslogtreecommitdiff
path: root/src/common/torgzip.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/common/torgzip.c
parent0f79fb51e5653cbc82a0066423c833cafb656542 (diff)
downloadtor-27df23abb675ffeb198bf0c1cc85c4baed77a988.tar.gz
tor-27df23abb675ffeb198bf0c1cc85c4baed77a988.zip
Use the standard OpenBSD preprocessor definition
Diffstat (limited to 'src/common/torgzip.c')
-rw-r--r--src/common/torgzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/torgzip.c b/src/common/torgzip.c
index 3353f0ef61..04ae353cf4 100644
--- a/src/common/torgzip.c
+++ b/src/common/torgzip.c
@@ -206,7 +206,7 @@ tor_gzip_compress(char **out, size_t *out_len,
}
done:
*out_len = stream->total_out;
-#ifdef OPENBSD
+#if defined(OpenBSD)
/* "Hey Rocky! Watch me change an unsigned field to a signed field in a
* third-party API!"
* "Oh, that trick will just make people do unsafe casts to the unsigned