summaryrefslogtreecommitdiff
path: root/lib/os_types.h
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2005-02-03 07:19:03 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2005-02-03 07:19:03 +0000
commit89c1c59fb83bc1d4598543b1bcaee5b69776b421 (patch)
tree8f8f88de29b540e4f21ed63a243c12288571fbef /lib/os_types.h
parent00f8f557ae278bb0aa4dee3cb664e154d32a7ba3 (diff)
downloadxine-lib-89c1c59fb83bc1d4598543b1bcaee5b69776b421.tar.gz
xine-lib-89c1c59fb83bc1d4598543b1bcaee5b69776b421.tar.bz2
**BUGFIX**
Fixed build on solaris: - use libresolv in hstrerror check - replace PRIiMAX and PRIXMAX by PRIdMAX and PRIxMAX Removed timezone struct for MinGW from public os_types.h, update header comment. Fixed build musepack library on some platforms using xine types. Thanks to Niki W. Waibel for reporting and testing. CVS patchset: 7378 CVS date: 2005/02/03 07:19:03
Diffstat (limited to 'lib/os_types.h')
-rw-r--r--lib/os_types.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/os_types.h b/lib/os_types.h
index 80254a925..506a324bb 100644
--- a/lib/os_types.h
+++ b/lib/os_types.h
@@ -17,9 +17,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id:
+ * $Id: os_types.h,v 1.4 2005/02/03 07:19:03 valtri Exp $ Ext
*
- * Platform dependent types needed by public xine.h.
+ * Platform dependent types needed by public xine.h.
+ * Types not needed by xine.h are specified in os_internal.h.
*
* Heavily based on os_types.h from OggVorbis (BSD License),
* not tested on all platforms with xine.
@@ -103,23 +104,15 @@
# ifndef __STDC_LIBRARY_SUPPORTED__
# define __STDC_LIBRARY_SUPPORTED__
# endif /* __STDC_LIBRARY_SUPPORTED__ */
-# include <inttypes.h>
-
-#elif defined(MINGW32)
# include <inttypes.h>
- struct timezone {
- int tz_minuteswest;
- int tz_dstime;
- };
-
#else
/*
* CygWin: _WIN32 & __GNUC__
* BeOS: __BEOS__
- * Linux and others
+ * Linux, Solaris and others
*/
# include <inttypes.h>