title: Getting Windows version with gcc c++
body: <p>I'm sure this question is somewhat strange but I'm using Code::Blocks and GCC.
  To use some specific functions in my project I need to determine which version of Windows is installed in the user machine.</p>
  <p>With VS2013/15 we can use VersionHelpers.h and IsWindowsXXXOrGreater(). But what about GCC C++?</p>