diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-03 05:44:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-03 05:44:00 +0400 |
commit | 05884e09beed97669fbec4d35b4e9427bfe997d3 (patch) | |
tree | fa464b01646aa2d1c352ef632429999e718e40b0 /source/creator/buildinfo.c | |
parent | bcf6726b0b1dd78d8bf6c0b843aa5b2e833dadaf (diff) |
- 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.
Diffstat (limited to 'source/creator/buildinfo.c')
-rw-r--r-- | source/creator/buildinfo.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); |