Opened 10 years ago

Closed 10 years ago

#9871 closed Bug Report - General (fixed)

New mythlogging code breaks the windows build

Reported by: markk Owned by: beirdo
Priority: minor Milestone: 0.25
Component: Ports - Windows Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


In summary, there is no localtime_r, syslog or sighup available with MingW. The attached 'patch' just highlights the problem areas and gets the build working.

Attachments (1)

patch.txt (6.3 KB) - added by markk 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by markk

Attachment: patch.txt added

comment:1 Changed 10 years ago by Github

Milestone: unknown0.25
Resolution: fixed
Status: newclosed

Fix mythlogging to be WIN32-friendly

Fixes #9871

Disabled compilation of syslog-related code, and the SIGHUP handler for Windows, and added a threadsafed localtime usage as localtime_r doesn't exist for Windows.

Please reopen the ticket should there be other remaining issues.

Branch: master Changeset: 48ecda5921e9b68e3d909491599d96ace3a2c437

Note: See TracTickets for help on using tickets.