From Philip Lowman, "A missing _WIN32_WINNT declaration causes MinGW compilation to fail when reaching FileNameUtils.cpp and the Windows 2000 function GetLongPathName() is called."

This commit is contained in:
Robert Osfield 2008-03-04 15:10:22 +00:00
parent d8f674a59d
commit 712ca43219

View File

@ -18,6 +18,7 @@
#include <osgDB/FileUtils>
#ifdef WIN32
#define _WIN32_WINNT 0x0500
#include <windows.h>
#endif