[Bf-blender-cvs] [cc9d0ef] master: Lowercase includes for psapi.h and dbghelp.h windows includes. This makes cross compilation a little less painful

Martijn Berger noreply at git.blender.org
Mon Sep 19 14:22:49 CEST 2016


Commit: cc9d0eff818db57362d6de3769999c86cd4c99ef
Author: Martijn Berger
Date:   Mon Sep 19 14:20:37 2016 +0200
Branches: master
https://developer.blender.org/rBcc9d0eff818db57362d6de3769999c86cd4c99ef

Lowercase includes for psapi.h and dbghelp.h windows includes.
This makes cross compilation a little less painful

===================================================================

M	intern/ghost/intern/GHOST_SystemWin32.cpp
M	source/blender/blenlib/intern/system.c

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index f884b0f..60e7815 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -41,7 +41,7 @@
 
 #include <shlobj.h>
 #include <tlhelp32.h>
-#include <Psapi.h>
+#include <psapi.h>
 #include <windowsx.h>
 
 #include "utfconv.h"
diff --git a/source/blender/blenlib/intern/system.c b/source/blender/blenlib/intern/system.c
index 898075e..863622f 100644
--- a/source/blender/blenlib/intern/system.c
+++ b/source/blender/blenlib/intern/system.c
@@ -35,7 +35,7 @@
 #  include <execinfo.h>
 #elif defined(WIN32)
 #  include <windows.h>
-#  include <DbgHelp.h>
+#  include <dbghelp.h>
 #endif
 
 int BLI_cpu_support_sse2(void)




More information about the Bf-blender-cvs mailing list