Skip to content

windows.h must be included before psapi.h

Nicolas Marsic requested to merge fixWinapi into master

Hi everyone,

I'm compiling the ddm code on ms-windows with msys2 (mingw64 + ninja) and I had an include error in GetResources.cpp: it seems that the windows.h header must be included before the psapi.h header with that toolchain. Did anyone else try this before (this branch passes the CI, but there's no ms-win tests :-p)?

Cheers, Nicolas.

Merge request reports