Do not bypass dpif_linux_class for the creation of dpif_class when compiling with MSVC. This will allow the code behind dpif-linux interface to run.
Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com> --- lib/dpif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif.c b/lib/dpif.c index 2b6f36d..54f3416 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -58,7 +58,7 @@ COVERAGE_DEFINE(dpif_purge); COVERAGE_DEFINE(dpif_execute_with_help); static const struct dpif_class *base_dpif_classes[] = { -#ifdef __linux__ +#if defined(__linux__) || defined(_WIN32) &dpif_linux_class, #endif &dpif_netdev_class, -- 1.9.0.msysgit.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev