Fix compilation error on Windows
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 12 Jun 2015 12:32:09 +0000 (17:32 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 12 Jun 2015 12:32:09 +0000 (17:32 +0500)
The issue was caused by conflicting declaration of HKEY
happening in our WM code and somewhere deeper in atomic
operations headers hierarchy.

source/blender/compositor/intern/COM_ExecutionGroup.cpp

index a7f45ffdf8112a93da8661378f9327417c786207..025ed76907da53c58eb83c09f15d77889e988241 100644 (file)
@@ -25,6 +25,8 @@
 #include <sstream>
 #include <stdlib.h>
 
+#include "atomic_ops.h"
+
 #include "COM_ExecutionGroup.h"
 #include "COM_defines.h"
 #include "COM_ExecutionSystem.h"
@@ -44,8 +46,6 @@
 #include "WM_api.h"
 #include "WM_types.h"
 
-#include "atomic_ops.h"
-
 ExecutionGroup::ExecutionGroup()
 {
        this->m_isOutput = false;