From 3e41c8ad6fd194c567471b39b88fddccc599a946 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 11 Aug 2014 20:58:42 +0600 Subject: Fix compilation error with debug scons The issue is that we've got hell with DEBUG and _DEBUG, theu're defined really inconsistent acros CMake and SCons. Used more reliable NDEBUG definition for IDP_spit. --- source/blender/python/generic/idprop_py_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/generic/idprop_py_api.c') diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c index dcdda2c440e..8c9e84af8ed 100644 --- a/source/blender/python/generic/idprop_py_api.c +++ b/source/blender/python/generic/idprop_py_api.c @@ -1541,7 +1541,7 @@ PyObject *BPyInit_idprop(void) } -#ifdef DEBUG +#ifndef NDEBUG /* -------------------------------------------------------------------- */ /* debug only function */ -- cgit v1.2.3