util: rework _MSC_VER >= 1200 checks
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 5 Mar 2015 23:40:10 +0000 (23:40 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 6 Mar 2015 16:48:50 +0000 (16:48 +0000)
commit3f167516399c8e20478bb0081a24ab7ac155b093
tree1237b04f0026ae10d4d96297ea842fa59d7c6484
parent38591295cd4b68f89f257b20f476f98de3772a47
util: rework _MSC_VER >= 1200 checks

Replace the _MSC_VER >= 1200 with defined (_MSC_VER) and compact if/else
statements. We require MSVC 2008 or later with commit 46110c5d564.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/util/macros.h