LibRaw's Makefile.mscv also LibRaw's Makefile.mscv also defines WIN32: COPT=/EHsc /MP /MD /I. /DWIN32 /O2.... (while Makefile.mingw is not) This is the way we distinguish native win32/VisualStudio build environment from emulated linux-like one (with time.h and other posix calls) -- Alex Tutubalin @LibRaw LLC reply
LibRaw's Makefile.mscv also defines WIN32:
COPT=/EHsc /MP /MD /I. /DWIN32 /O2....
(while Makefile.mingw is not)
This is the way we distinguish native win32/VisualStudio build environment from emulated linux-like one (with time.h and other posix calls)