mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 13:58:14 +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:
@@ -53,9 +53,9 @@ VLOG_DEFINE_THIS_MODULE(socket_util);
|
|||||||
* Thus, this file compiles all of the code regardless of the target, by
|
* Thus, this file compiles all of the code regardless of the target, by
|
||||||
* writing "if (LINUX)" instead of "#ifdef __linux__". */
|
* writing "if (LINUX)" instead of "#ifdef __linux__". */
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#define LINUX 0
|
|
||||||
#else
|
|
||||||
#define LINUX 1
|
#define LINUX 1
|
||||||
|
#else
|
||||||
|
#define LINUX 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef O_DIRECTORY
|
#ifndef O_DIRECTORY
|
||||||
|
Reference in New Issue
Block a user