Fix T61043: Blender crashes on VSE zoom / scroll timeline sometimes
[blender.git] / source / creator / buildinfo.c
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17  * All rights reserved.
18  */
19
20 /** \file creator/buildinfo.c
21  *  \ingroup creator
22  */
23
24
25 #ifdef WITH_BUILDINFO_HEADER
26 #  include "buildinfo.h"
27 #endif
28
29 #ifdef BUILD_DATE
30
31 /* currently only these are defined in the header */
32 char build_date[] = BUILD_DATE;
33 char build_time[] = BUILD_TIME;
34 char build_hash[] = BUILD_HASH;
35 unsigned long build_commit_timestamp = BUILD_COMMIT_TIMESTAMP;
36 char build_commit_date[16] = "\0";
37 char build_commit_time[16] = "\0";
38 char build_branch[] = BUILD_BRANCH;
39
40 char build_platform[] = BUILD_PLATFORM;
41 char build_type[] = BUILD_TYPE;
42
43 #ifdef BUILD_CFLAGS
44 char build_cflags[] = BUILD_CFLAGS;
45 char build_cxxflags[] = BUILD_CXXFLAGS;
46 char build_linkflags[] = BUILD_LINKFLAGS;
47 char build_system[] = BUILD_SYSTEM;
48 #else
49 char build_cflags[] = "unmaintained buildsystem alert!";
50 char build_cxxflags[] = "unmaintained buildsystem alert!";
51 char build_linkflags[] = "unmaintained buildsystem alert!";
52 char build_system[] = "unmaintained buildsystem alert!";
53 #endif
54
55 #endif // BUILD_DATE