git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5b507
)
socket-util: Fix definition of LINUX.
author
Ben Pfaff
<blp@nicira.com>
Mon, 17 Mar 2014 20:00:30 +0000
(13:00 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 17 Mar 2014 20:00:46 +0000
(13:00 -0700)
Reported-by: Mukesh Hira <mhira@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Pritesh Kothari <pritesh.kothari@cisco.com>
lib/socket-util.c
patch
|
blob
|
history
diff --git
a/lib/socket-util.c
b/lib/socket-util.c
index
4c79cd6
..
aeda543
100644
(file)
--- 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