As some may know, when attempting to compile PCem using MSYS2,
Code: Select all
cdrom-ioctl.c
Code: Select all
"ddk/ntddcdrm.h"
Code: Select all
"ddk/ntddscsi.h"
The issue is that the DDK headers are moved and changed in Mingw-w64 compared to legacy mingw. To solve this, an #ifdef is used to determine the toolchain used. However, the current #ifdef
Code: Select all
__MINGW64__
I propose changing the #ifdef (and #ifndef) to use
Code: Select all
__MINGW64_VERSION_MAJOR