From fce314cdb330167ca10c00b09fc46b67c5b9af97 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 17 Mar 2014 13:00:30 -0700 Subject: [PATCH] socket-util: Fix definition of LINUX. Reported-by: Mukesh Hira Signed-off-by: Ben Pfaff Acked-by: Pritesh Kothari --- lib/socket-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/socket-util.c b/lib/socket-util.c index 4c79cd6a6..aeda5435c 100644 --- a/lib/socket-util.c +++ b/lib/socket-util.c @@ -53,9 +53,9 @@ VLOG_DEFINE_THIS_MODULE(socket_util); * Thus, this file compiles all of the code regardless of the target, by * writing "if (LINUX)" instead of "#ifdef __linux__". */ #ifdef __linux__ -#define LINUX 0 -#else #define LINUX 1 +#else +#define LINUX 0 #endif #ifndef O_DIRECTORY -- 2.43.0