2
0
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:
Ben Pfaff 2014-03-17 13:00:30 -07:00
parent 1b5b50718f
commit fce314cdb3

View File

@ -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