mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 05:47:55 +00:00
socket-util: Fix definition of LINUX.
Reported-by: Mukesh Hira <mhira@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Pritesh Kothari <pritesh.kothari@cisco.com>
This commit is contained in:
parent
1b5b50718f
commit
fce314cdb3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user