Add a log message entry about the 32/64 bitness of the build target.
authorCarl Hetherington <cth@carlh.net>
Mon, 2 Feb 2015 23:26:57 +0000 (23:26 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 2 Feb 2015 23:26:57 +0000 (23:26 +0000)
src/lib/film.cc

index ecc98d7dc698be487248ce5870636cde9be334cc..e19d98df06e307517e9d3d379882f157ef033770 100644 (file)
@@ -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 ();