[mythtv-commits] Ticket #4270: MythTV on Windows (with MinGW)

MythTV mythtv at cvs.mythtv.org
Fri Dec 14 11:40:56 UTC 2007


#4270: MythTV on Windows (with MinGW)
-----------------------------+----------------------------------------------
 Reporter:  andrei at tanas.ca  |        Owner:  danielk
     Type:  patch            |       Status:  new    
 Priority:  minor            |    Milestone:  unknown
Component:  mythtv           |      Version:  head   
 Severity:  medium           |   Resolution:         
  Mlocked:  0                |  
-----------------------------+----------------------------------------------

Comment(by nigel):

 1) suseconds_t should now be something like:
 {{{
 Index: compat.h
 ===================================================================
 --- compat.h    (revision 15161)
 +++ compat.h    (working copy)
 @@ -240,6 +240,10 @@
  // suseconds_t
  #include <sys/types.h>

 +#ifdef USING_MINGW
 +    typedef long long suseconds_t;
 +#endif
 +
  #include "mythconfig.h"
  #if defined(CONFIG_DARWIN) && ! defined (_SUSECONDS_T)
          typedef int32_t suseconds_t;   // 10.3 or earlier don't have this
 }}}
 but could it be int32_t (like Darwin) instead of long long?

 2) For MythMusic, instead of the #ifdefs, it might be better to make a
 mostly empty cddecoder implementation?
 ''e.g.''cddecoder-windows.cpp? I can knock one up if you like?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4270#comment:25>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list