[Bf-blender-cvs] [55e79d8f36c] master: Tests: BLI_heap_simple test fix build error with MSVC.
Ray Molenkamp
noreply at git.blender.org
Thu Mar 14 18:14:50 CET 2019
Commit: 55e79d8f36c602f08a4588f697606b5a9eb55a4c
Author: Ray Molenkamp
Date: Thu Mar 14 11:14:12 2019 -0600
Branches: master
https://developer.blender.org/rB55e79d8f36c602f08a4588f697606b5a9eb55a4c
Tests: BLI_heap_simple test fix build error with MSVC.
BLI_heap_simple.h uses types from BLI_sys_types.h causing a build error on windows.
===================================================================
M tests/gtests/blenlib/BLI_heap_simple_test.cc
===================================================================
diff --git a/tests/gtests/blenlib/BLI_heap_simple_test.cc b/tests/gtests/blenlib/BLI_heap_simple_test.cc
index 29aa8f23c49..9c97163f337 100644
--- a/tests/gtests/blenlib/BLI_heap_simple_test.cc
+++ b/tests/gtests/blenlib/BLI_heap_simple_test.cc
@@ -4,6 +4,7 @@
#include <string.h>
extern "C" {
+#include "BLI_sys_types.h"
#include "BLI_compiler_attrs.h"
#include "BLI_heap_simple.h"
#include "BLI_utildefines.h"
More information about the Bf-blender-cvs
mailing list