|Reported by:||Kirben||Owned by:|
This patch adds the proper define for native mingw compiler and a makefile to use with native mingw. One point I was not sure about, mingw doesn't define _HEAPOK so I just used the empty define from wince section.
Ticket imported from: #517475. Ticket imported from: patches/39.