On Fri, Aug 8, 2014 at 11:09 AM, Ben Pfaff <b...@nicira.com> wrote: > On Fri, Aug 08, 2014 at 06:03:38PM +0000, Samuel Ghinet wrote: >> [QUOTE]If the transformation scripts become hard to maintain, we'll do >> something else.[/QUOTE] >> The script method still doesn't sound awesome. >> >> let's see... can we enclose the #include-s of openvswitch.h within an >> "#ifndef _WIN32"?
openvswitch.h is a Linux kernel header file. You can't put references to Windows in it any more than you can put GPL code in the Windows kernel. I think the long term solution is to have OS-specific interface files like you would have for any other functionality. This has potential performance issues though due to the cost of translation. The script method was the compromise to avoid this until the cost/benefit changes. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev