From c285f1c02a99200dbff50b9bfce1475f45418ada Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Mon, 18 Mar 2013 19:19:28 +0000 Subject: [PATCH] Use extern "C" when including BKE_node.h in C++ compositor code, to avoid linker errors on windows (undefined NODE_INSTANCE_KEY_BASE). --- source/blender/compositor/intern/COM_ExecutionSystem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/compositor/intern/COM_ExecutionSystem.cpp b/source/blender/compositor/intern/COM_ExecutionSystem.cpp index 2da1c34ab44..2d87845d254 100644 --- a/source/blender/compositor/intern/COM_ExecutionSystem.cpp +++ b/source/blender/compositor/intern/COM_ExecutionSystem.cpp @@ -26,7 +26,9 @@ #include "PIL_time.h" #include "BLI_utildefines.h" +extern "C" { #include "BKE_node.h" +} #include "COM_Converter.h" #include "COM_NodeOperation.h"