RTL_OSVERSIONINFOW error

Hi!
I’ve created simple “Audo Plugin” project via CodeBlocks. But when I try to build it I’ve got this error:

C:\MyPath\JUCE\modules\juce_core\native\juce_win32_SystemStats.cpp|188|error: ‘RTL_OSVERSIONINFOW’ does not name a type; did you mean ‘LPOSVERSIONINFOW’?|
C:\MyPath\JUCE\modules\juce_core\native\juce_win32_SystemStats.cpp|211|error: ‘getWindowsVersionInfo’ was not declared in this scope|
C:\MyPath\JUCE\modules\juce_core\native\juce_win32_SystemStats.cpp|211|note: suggested alternative: ‘GetFileVersionInfo’|
C:\MyPath\JUCE\modules\juce_audio_devices\native\juce_win32_Midi.cpp|1742|error: ‘RTL_OSVERSIONINFOW’ does not name a type; did you mean ‘LPOSVERSIONINFOW’?|

My OS is Windows 10, MinGW version is 8.2, I compile 32-bit project. I’ve tryed C++11 and C++14. It was the same error.

Thanks for any help!

Thanks for reporting, this should now be fixed in b7c8ac3.