[ovs-dev] [PATCH] socket-util: Fix definition of LINUX.

Ben Pfaff blp at nicira.com
Mon Mar 17 20:01:56 UTC 2014


Thanks!  I applied this.

On Mon, Mar 17, 2014 at 06:10:13PM +0000, Pritesh Kothari (pritkoth) wrote:
> Acked-by: Pritesh Kothari <pritesh.kothari at cisco.com>
> 
> On Mar 14, 2014, at 4:00 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > Reported-by: Mukesh Hira <mhira at vmware.com>
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> > ---
> > 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 4c79cd6..aeda543 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
> > -- 
> > 1.7.10.4
> > 
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
> 



More information about the dev mailing list