Opened 11 years ago

Closed 11 years ago

#7478 closed defect (fixed)

MythTV compilation on Win32 fails at mythmainwindow

Reported by: anonymous Owned by: Nigel
Priority: minor Milestone: 0.22
Component: Ports - Windows Version: head
Severity: medium Keywords: windows, unistd.h, mythfrontend, mythmainwindow.cpp
Cc: Ticket locked: no

Description

mythmainwindow fails to compile due to usleep not defined.

Need to add #include <unistd.h> to mythmainwindow

Change History (3)

comment:1 Changed 11 years ago by Jonathan Martens <jonathan@…>

I think we need to revert changeset [22649] as well as this was supposed to fix it by including compat.h for it, but this does AFAIK not include unistd.h not the usleep workaround as the latter was removed in changeset [19910].

comment:2 Changed 11 years ago by sphery

Component: MythTV - User Interface LibraryPorts - Windows
Keywords: windows unistd.h mythfrontend mythmainwindow.cpp added
Owner: changed from stuartm to Nigel

comment:3 Changed 11 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [22748]) MinGW/Windows mythmainwindow.cpp build fix. Completes [22469]. Closes #7478.

Note: See TracTickets for help on using tickets.