[Bf-blender-cvs] [a82d899] master: fix compile error on MinGW32

Antony Riakiotakis noreply at git.blender.org
Tue Mar 11 22:46:20 CET 2014


Commit: a82d899c13807b22263e355e43dc913ac5a8a870
Author: Antony Riakiotakis
Date:   Tue Mar 11 21:46:12 2014 +0200
https://developer.blender.org/rBa82d899c13807b22263e355e43dc913ac5a8a870

fix compile error on MinGW32

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

M	source/blender/blenloader/intern/versioning_270.c

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

diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index d11e434..30d8bf4 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -28,6 +28,9 @@
 #include "BLI_utildefines.h"
 #include "BLI_compiler_attrs.h"
 
+/* for MinGW32 definition of NULL, could use BLI_blenlib.h instead too */
+#include <stddef.h>
+
 /* allow readfile to use deprecated functionality */
 #define DNA_DEPRECATED_ALLOW




More information about the Bf-blender-cvs mailing list