From 89c1c59fb83bc1d4598543b1bcaee5b69776b421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 3 Feb 2005 07:19:03 +0000 Subject: **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 --- lib/os_types.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'lib') 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 - -#elif defined(MINGW32) # include - struct timezone { - int tz_minuteswest; - int tz_dstime; - }; - #else /* * CygWin: _WIN32 & __GNUC__ * BeOS: __BEOS__ - * Linux and others + * Linux, Solaris and others */ # include -- cgit v1.2.3