diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-03-18 23:19:28 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-03-18 23:19:28 +0400 |
commit | c285f1c02a99200dbff50b9bfce1475f45418ada (patch) | |
tree | fa8658ad5e0135c882a803164a3d6b1a85bc72b8 /source/blender/compositor | |
parent | b2374f8de3723dae91459d9bcaa37fbd5914fd24 (diff) |
Use extern "C" when including BKE_node.h in C++ compositor code, to avoid linker errors on windows (undefined NODE_INSTANCE_KEY_BASE).
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/intern/COM_ExecutionSystem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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" |