diff options
author | ng0 <ng0@n0.is> | 2019-11-20 13:28:01 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-20 13:28:01 +0000 |
commit | 13226e828c6b7d56c77444afe159c1ccf008d62d (patch) | |
tree | 012f078ef372530f02e2ff04e7b8e2cd0149c9e4 /src/util/test_bio.c | |
parent | 522a4b35a04b2bc8f50b25db8b9a30ef4ab9d9e2 (diff) | |
download | gnunet-13226e828c6b7d56c77444afe159c1ccf008d62d.tar.gz gnunet-13226e828c6b7d56c77444afe159c1ccf008d62d.zip |
follow-up to 7c14b80a011e9e99b1cef0bfd96bae364edd5663:
use __linux__ instead of redefined LINUX.
Diffstat (limited to 'src/util/test_bio.c')
-rw-r--r-- | src/util/test_bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_bio.c b/src/util/test_bio.c index 8ff93c168..13ae1cf56 100644 --- a/src/util/test_bio.c +++ b/src/util/test_bio.c | |||
@@ -200,7 +200,7 @@ test_bigmeta_rw () | |||
200 | static int | 200 | static int |
201 | test_directory_r () | 201 | test_directory_r () |
202 | { | 202 | { |
203 | #if LINUX | 203 | #if __linux__ |
204 | char *msg; | 204 | char *msg; |
205 | char readResult[200]; | 205 | char readResult[200]; |
206 | struct GNUNET_BIO_ReadHandle *fileR; | 206 | struct GNUNET_BIO_ReadHandle *fileR; |
@@ -244,7 +244,7 @@ test_nullfile_rw () | |||
244 | static int | 244 | static int |
245 | test_fullfile_rw () | 245 | test_fullfile_rw () |
246 | { | 246 | { |
247 | #ifdef LINUX | 247 | #ifdef __linux__ |
248 | /* /dev/full only seems to exist on Linux */ | 248 | /* /dev/full only seems to exist on Linux */ |
249 | char *msg; | 249 | char *msg; |
250 | int64_t testNum; | 250 | int64_t testNum; |