From 5d4a6a94ef40f8ae8c49d8fd8fc65384324cb03c Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Thu, 17 Apr 2014 12:25:41 +0900 Subject: Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 2). (See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of the problem). Fixed for #include not properly put in the extern "C" { ... } construct. Also removed redundant inclusion of the header file in the Freestyle Python API code. --- source/blender/freestyle/intern/python/BPy_Interface1D.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/freestyle/intern/python/BPy_Interface1D.h') diff --git a/source/blender/freestyle/intern/python/BPy_Interface1D.h b/source/blender/freestyle/intern/python/BPy_Interface1D.h index 9bc447725e9..17c0752b2e8 100644 --- a/source/blender/freestyle/intern/python/BPy_Interface1D.h +++ b/source/blender/freestyle/intern/python/BPy_Interface1D.h @@ -25,7 +25,9 @@ #ifndef __FREESTYLE_PYTHON_INTERFACE1D_H__ #define __FREESTYLE_PYTHON_INTERFACE1D_H__ +extern "C" { #include +} #include "../view_map/Interface1D.h" -- cgit v1.2.3