From 95c068358acb303ab01ab8dc372f893aec5fe1b0 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 19 Jun 2018 19:25:15 +0200 Subject: Fix use of undefined macro __OpenBSD__ Compiling on Linux with -Wundef produces the following warning: warning: "__OpenBSD__" is not defined, evaluates to 0 [-Wundef] Signed-off-by: Olivier Gayot --- src/print_disk_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print_disk_info.c') diff --git a/src/print_disk_info.c b/src/print_disk_info.c index fb73480..770e718 100644 --- a/src/print_disk_info.c +++ b/src/print_disk_info.c @@ -7,7 +7,7 @@ #include #include #include -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || (__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__) #include #include #elif defined(__NetBSD__) -- cgit v1.2.3