Compiling cocos2d-x on Windows 10 (win32)

Just a quick tip here to share somethingĀ that neededĀ setting to get cocos2d-x to compile properly for win32. I’m on Windows 10 pro, with Visual Studio Community 2015.

If you see a Timespec redefinition error, add HAVE_STRUCT_TIMESPEC to the preprocessor directives found here:

Project->Properties->C/C++->Preprocessor->Preprocessor Definitions