From 05884e09beed97669fbec4d35b4e9427bfe997d3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 3 Oct 2010 01:44:00 +0000 Subject: - rna bugfix where ints were not clamped and would overflow, now raise an error and print valid range. - fixed WM_OT_context_cycle_int was causing problems with int overflow, now it cycles properly. - rename QUOTE macro to STRINGIFY_ARG, and added STRINGIFY, which is used more often since it gives the value as a string. --- source/creator/buildinfo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/creator/buildinfo.c') diff --git a/source/creator/buildinfo.c b/source/creator/buildinfo.c index d745d826bd6..a14cb94b859 100644 --- a/source/creator/buildinfo.c +++ b/source/creator/buildinfo.c @@ -27,10 +27,9 @@ * ***** END GPL LICENSE BLOCK ***** */ -#define STRINGIFY(x) XSTRINGIFY(x) -#define XSTRINGIFY(x) #x - #ifdef BUILD_DATE +#include "BKE_utildefines.h" + char build_date[]= STRINGIFY(BUILD_DATE); char build_time[]= STRINGIFY(BUILD_TIME); char build_rev[]= STRINGIFY(BUILD_REV); -- cgit v1.2.3