From: Gurucharan Shetty Date: Mon, 10 Mar 2014 15:39:44 +0000 (-0700) Subject: vlog: Array intialization for Windows. X-Git-Tag: sliver-openvswitch-2.2.90-1~6^2~146 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f2c710a602c31b419eb8d37e981f0512f71c3a5d;p=sliver-openvswitch.git vlog: Array intialization for Windows. Visual studio does not understand array initialization done this way: [first ... last] = value Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- diff --git a/lib/vlog.h b/lib/vlog.h index 226b7f827..0f791af1a 100644 --- a/lib/vlog.h +++ b/lib/vlog.h @@ -269,7 +269,7 @@ void vlog_usage(void); { \ LIST_INITIALIZER(&VLM_##MODULE.list), \ #MODULE, /* name */ \ - { [ 0 ... VLF_N_FACILITIES - 1] = VLL_INFO }, /* levels */ \ + { VLL_INFO, VLL_INFO, VLL_INFO }, /* levels */ \ VLL_INFO, /* min_level */ \ true /* honor_rate_limits */ \ };