appmodel.h is not yet available on mingw stable
authorxantares <xantares09@hotmail.com>
Thu, 1 Sep 2022 15:41:58 +0000 (17:41 +0200)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Thu, 1 Sep 2022 18:28:13 +0000 (12:28 -0600)
https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/CALK-3mLynzo8%3D9tOoGjwUUWTCtG_MHb5L1Pzd_GCQ%2B8pR637MQ%40mail.gmail.com/#msg37677890

loader/loader_windows.c

index 89408d2ed5ddf604eeb0db9025e78931a60924a8..693b6b7a3ad3ed99a0e622fde0e3aa958503e04c 100644 (file)
 #include <dxgi1_6.h>
 #include "adapters.h"
 
+#ifndef __MINGW32__
+// not yet available with MinGW-w64 stable
 #include <appmodel.h>
+#endif
 
 #if !defined(NDEBUG)
 #include <crtdbg.h>