Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git] / src / lib / environment_info.cc
index d10e23727e317c885dde090b02b5e7c71d7b4a19..ecb80fc148a50989fbcfd68fd72ecbbf62764d87 100644 (file)
@@ -42,8 +42,8 @@ extern "C" {
 
 #include "i18n.h"
 
-#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), Log::TYPE_GENERAL);
-#define LOG_GENERAL_NC(...) log->log (__VA_ARGS__, Log::TYPE_GENERAL);
+#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), LogEntry::TYPE_GENERAL);
+#define LOG_GENERAL_NC(...) log->log (__VA_ARGS__, LogEntry::TYPE_GENERAL);
 
 using std::string;
 using std::list;
@@ -109,7 +109,7 @@ environment_info (shared_ptr<Log> log)
        info.dwOSVersionInfoSize = sizeof (info);
        GetVersionEx (&info);
        LOG_GENERAL ("Windows version %1.%2.%3 SP %4", info.dwMajorVersion, info.dwMinorVersion, info.dwBuildNumber, info.szCSDVersion);
-#endif 
+#endif
 
 #if __GNUC__
 #if __x86_64__
@@ -118,7 +118,7 @@ environment_info (shared_ptr<Log> log)
        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 ();
        for (list<pair<string, string> >::const_iterator i = m.begin(); i != m.end(); ++i) {