Ticket #1590: libmyth-31-10-06.patch

File libmyth-31-10-06.patch, 1.3 KB (added by robthebob+myth_trac@…, 13 years ago)

Just libmyth

  • mythmediamonitor.h

     
    11#ifndef MYTH_MEDIA_MONITOR_H
    22#define MYTH_MEDIA_MONITOR_H
    33
     4#ifndef CONFIG_CYGWIN
    45#include <fstab.h>
     6#endif
    57
    68#include <qvaluelist.h>
    79#include <qguardedptr.h>
  • util.cpp

     
    1818#include <sys/sysinfo.h>
    1919#else
    2020#include <sys/param.h>
     21#ifdef CONFIG_CYGWIN
     22#include <sys/statfs.h>
     23#else
    2124#include <sys/sysctl.h>
     25#endif
    2226#include <sys/mount.h>
    2327#endif
    2428
  • libmyth.pro

     
    6161inc.files += mythevent.h mythobservable.h mythsocket.h
    6262inc.files += mythexp.h mythpluginapi.h
    6363
     64cygwin {
     65    DEFINES += CONFIG_CYGWIN
     66    QMAKE_LFLAGS_SHLIB += -Wl,--noinhibit-exec
     67}
     68
    6469using_oss {
    6570    DEFINES += USING_OSS
    6671    SOURCES += audiooutputoss.cpp
    6772    HEADERS += audiooutputoss.h
    6873}
    6974
    70 unix {
     75unix:!cygwin {
    7176    SOURCES += mythhdd.cpp mythcdrom.cpp mythmediamonitor.cpp
    7277    HEADERS += mythhdd.h mythcdrom.h   mythmediamonitor.h
    7378    inc.files += mythhdd.h mythcdrom.h mythmediamonitor.h