Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource/blender/yafray/intern/export_File.cpp4
-rw-r--r--source/blender/yafray/intern/export_Plugin.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/yafray/intern/export_File.cpp b/source/blender/yafray/intern/export_File.cpp
index b865096477a..92ee9a6ec28 100755
--- a/source/blender/yafray/intern/export_File.cpp
+++ b/source/blender/yafray/intern/export_File.cpp
@@ -7,8 +7,8 @@ using namespace std;
static string command_path = "";
#ifdef WIN32
-
-#include <windows.h>
+#define WIN32_SKIP_HKEY_PROTECTION
+#include "BLI_winstuff.h"
#ifndef FILE_MAXDIR
#define FILE_MAXDIR 160
diff --git a/source/blender/yafray/intern/export_Plugin.cpp b/source/blender/yafray/intern/export_Plugin.cpp
index 44dbe3a8918..9e006381448 100644
--- a/source/blender/yafray/intern/export_Plugin.cpp
+++ b/source/blender/yafray/intern/export_Plugin.cpp
@@ -5,8 +5,8 @@ using namespace std;
#ifdef WIN32
-
-#include <windows.h>
+#define WIN32_SKIP_HKEY_PROTECTION
+#include "BLI_winstuff.h"
#ifndef FILE_MAXDIR
#define FILE_MAXDIR 160