GDAL-2.1.0 already has a similar change to nmake.opt
ODBCLIB = legacy_stdio_definitions.lib odbc32.lib odbccp32.lib user32.lib
ODBCLIB = odbc32.lib odbccp32.lib user32.lib
but you must also specify the version of Visual Studio from the command line with the MSVC_VER parameter. for example for Visual Studio 2015 (MSVC_VER == 1900) use this command line to compile
nmake -f makefile.vc MSVC_VER=1900
source
share