[Bf-blender-cvs] [8083ca2] gooseberry: Gooseberry: Attempt to fix compilation with MSVS

Sergey Sharybin noreply at git.blender.org
Sun Jun 14 16:51:13 CEST 2015


Commit: 8083ca2b5c752da97435ce4a946d545cec2a52e0
Author: Sergey Sharybin
Date:   Sun Jun 14 16:50:54 2015 +0200
Branches: gooseberry
https://developer.blender.org/rB8083ca2b5c752da97435ce4a946d545cec2a52e0

Gooseberry: Attempt to fix compilation with MSVS

M_PI macro requires BLI_math.h to be included.

===================================================================

M	source/blender/editors/space_file/file_draw.c

===================================================================

diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c
index a260f67..9f66a22 100644
--- a/source/blender/editors/space_file/file_draw.c
+++ b/source/blender/editors/space_file/file_draw.c
@@ -35,6 +35,7 @@
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
 #include "BLI_fileops_types.h"
+#include "BLI_math.h"
 
 #ifdef WIN32
 #  include "BLI_winstuff.h"




More information about the Bf-blender-cvs mailing list