Ticket #4270: mingw.2.patch
File mingw.2.patch, 1.2 KB (added by , 16 years ago) |
---|
-
libs/libmyth/compat.h
240 240 // suseconds_t 241 241 #include <sys/types.h> 242 242 243 #ifdef USING_MINGW 244 typedef int suseconds_t; 245 #endif 246 243 247 #include "mythconfig.h" 244 248 #if defined(CONFIG_DARWIN) && ! defined (_SUSECONDS_T) 245 249 typedef int32_t suseconds_t; // 10.3 or earlier don't have this -
programs/mythfrontend/main.cpp
1375 1375 1376 1376 qApp->unlock(); 1377 1377 1378 #ifndef _WIN321379 1378 MediaMonitor *mon = MediaMonitor::GetMediaMonitor(); 1380 1379 if (mon) 1381 1380 { 1382 1381 VERBOSE(VB_IMPORTANT, QString("Starting media monitor.")); 1383 1382 mon->StartMonitoring(); 1384 1383 } 1385 #endif1386 1384 1387 1385 NetworkControl *networkControl = NULL; 1388 1386 if (gContext->GetNumSetting("NetworkControlEnabled", 0)) … … 1424 1422 1425 1423 pmanager->DestroyAllPlugins(); 1426 1424 1427 #ifndef _WIN321428 1425 if (mon) 1429 1426 { 1430 1427 mon->StopMonitoring(); 1431 1428 delete mon; 1432 1429 } 1433 #endif1434 1430 1435 1431 if (priv_thread_created) 1436 1432 {