With Visual Studio 15.8.1 (msvc 2017), the following changes must be made to have a successful compile:

- in nmake.opt add: MSVC_VER=1910

- in freexl.c on line#92 change to:

   #if defined(_WIN32) && !defined(__MINGW32__) && $(MSVC_VER) < 1800