summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-02-02 23:26:57 +0000
committerCarl Hetherington <cth@carlh.net>2015-02-02 23:26:57 +0000
commite62f0e90864557e5b4958fd11912b3dfe6ba2268 (patch)
treec0ee19df46766535c56467be7ad1fd376dc8186d /src/lib
parent869dd73240b1958d955d1626edad6130968ad979 (diff)
Add a log message entry about the 32/64 bitness of the build target.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index ecc98d7dc..e19d98df0 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -309,6 +309,14 @@ Film::make_dcp ()
GetVersionEx (&info);
LOG_GENERAL ("Windows version %1.%2.%3 SP %4", info.dwMajorVersion, info.dwMinorVersion, info.dwBuildNumber, info.szCSDVersion);
#endif
+
+#if __GNUC__
+#if __x86_64__
+ LOG_GENERAL_NC ("Built for 64-bit");
+#else
+ LOG_GENERAL_NC ("Built for 32-bit");
+#endif
+#endif
LOG_GENERAL ("CPU: %1, %2 processors", cpu_info(), boost::thread::hardware_concurrency ());
list<pair<string, string> > const m = mount_info ();