Ticket #4270: mingw.patch
File mingw.patch, 1.1 KB (added by , 16 years ago) |
---|
-
libs/libmyth/compat.h
69 69 #define fsync(FD) 0 70 70 //used in videodevice only - that code is not windows-compatible anyway 71 71 #define minor(X) 0 72 typedef long long suseconds_t; 72 73 #endif 73 74 74 75 #if defined(__cplusplus) && defined(USING_MINGW) -
libs/libmythupnp/upnputil.h
15 15 #include <qstringlist.h> 16 16 #include <qmap.h> 17 17 18 // __suseconds_t doesn't exist on some older Unixes. e.g. Darwin/Mac OS X 18 // __suseconds_t doesn't exist on some older Unixes 19 // e.g. Darwin/Mac OS X, and Windows 19 20 // let's hope they have suseconds_t in <sys/types.h> 20 21 #include <sys/types.h> 21 22 23 // Myth headers 24 #include "compat.h" 25 22 26 ///////////////////////////////////////////////////////////////////////////// 23 27 // 24 28 /////////////////////////////////////////////////////////////////////////////