[mythtv-commits] Ticket #9630: [PATCH] commit 361f213a (Converted jobqueue threads to QThread) breaks Windows build
MythTV
noreply at mythtv.org
Fri Mar 4 21:37:04 UTC 2011
#9630: [PATCH] commit 361f213a (Converted jobqueue threads to QThread) breaks
Windows build
-------------------------------------------------+-------------------------
Reporter: Lawrence Rust <lvr@…> | Type: Patch -
Status: new | Bug Fix
Milestone: unknown | Priority: minor
Version: Trunk Head | Component: MythTV
Keywords: Windows | - General
| Severity: medium
| Ticket locked: 0
-------------------------------------------------+-------------------------
Commit 361f213a2e0a82f0465d28b731ab472a2f47c482 breaks the Windows build:
1. jobqueue.cpp:185: error: ‘pthread_testcancel’ was not declared in this
scope
2. jobqueue.cpp:1696: error: ‘class ChildJobThread’ has no member named
‘SetJobA’
The attached patch fixes these.
1. Remove superfluous pthread_testcancel
2. #undef SetJob which is #defined in windows.h
NB This is a reminder that before including windows/h that we should be
defing WIN32_LEAN_AND_MEAN
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9630>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list