-From 87a8fec78742571a565984b5538ef761cbc3d625 Mon Sep 17 00:00:00 2001
+From 4bd08e4bd9420ffc4c9988d32dd49e8d9d912b6d Mon Sep 17 00:00:00 2001
 From: DeadSix27 <DeadSix27@users.noreply.github.com>
-Date: Fri, 9 Aug 2019 16:29:58 +0200
-Subject: [PATCH] fix cross compiling
+Date: Thu, 19 Sep 2019 18:19:41 +0200
+Subject: [PATCH] fix cross compiling with mingw
 
 ---
  CMakeLists.txt        |  2 +-
  loader/CMakeLists.txt | 16 ++++++++--------
- loader/loader.c       |  4 ++++
+ loader/loader.c       |  6 +++++-
  loader/loader.rc      |  5 ++++-
  loader/vulkan.pc.in   |  4 ++--
- 5 files changed, 19 insertions(+), 12 deletions(-)
+ 5 files changed, 20 insertions(+), 13 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
 index 81532fdb4..bee984e0b 100644

 
     add_library(loader-opt OBJECT ${OPT_LOADER_SRCS})
     add_dependencies(loader-opt loader_asm_gen_files)
@@ -231,14 +231,16 @@ else()
         set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-typedef-redefinition")
     endif()
 

     enable_language(ASM_MASM)
     if(CMAKE_ASM_MASM_COMPILER_WORKS)
         if(NOT CMAKE_CL_64)
@@ -174,12 +174,12 @@ else(UNIX AND NOT APPLE) # i.e.: Linux
     endif()
 endif()
 
