[MPlayer-cvslog] r23797 - in trunk: configure osdep/Makefile osdep/fseeko.c

diego subversion at mplayerhq.hu
Tue Jul 17 11:40:33 CEST 2007


Author: diego
Date: Tue Jul 17 11:40:32 2007
New Revision: 23797

Log:
Remove unused fseeko check and fallback implementation.


Removed:
   trunk/osdep/fseeko.c
Modified:
   trunk/configure
   trunk/osdep/Makefile

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Jul 17 11:40:32 2007
@@ -3355,21 +3355,6 @@ else
 fi
 echores "$_strsep"
 
-echocheck "fseeko()"
-cat > $TMPC << EOF
-#include <stdio.h>
-int main (void) { int i; i = fseeko(stdin, 0, 0); return 0; }
-EOF
-_fseeko=no
-cc_check && _fseeko=yes
-if test "$_fseeko" = yes ; then
- _def_fseeko='#define HAVE_FSEEKO 1'
- _need_fseeko=no
-else
- _def_fseeko='#undef HAVE_FSEEKO'
- _need_fseeko=yes
-fi
-echores "$_fseeko"
 
 echocheck "vsscanf()"
 cat > $TMPC << EOF
@@ -7426,7 +7411,6 @@ HAVE_XVMC_ACCEL = $_xvmc
 HAVE_SYS_MMAN_H = $_mman
 HAVE_POSIX_SELECT = $_posix_select
 
-NEED_FSEEKO  = $_need_fseeko
 NEED_FTELLO  = $_need_ftello
 NEED_GETTIMEOFDAY    = $_need_gettimeofday
 NEED_GLOB    = $_need_glob
@@ -7799,15 +7783,6 @@ $_def_scandir
 /* Define this if your system has strsep */
 $_def_strsep
 
-/* Define this if your system has fseeko */
-$_def_fseeko
-#ifndef HAVE_FSEEKO
-/* Need these for FILE and off_t an config.h is usually before other includes*/
-#include <stdio.h>
-#include <sys/types.h>
-int fseeko(FILE *, off_t, int);
-#endif
-
 /* Define this if your system has vsscanf */
 $_def_vsscanf
 

Modified: trunk/osdep/Makefile
==============================================================================
--- trunk/osdep/Makefile	(original)
+++ trunk/osdep/Makefile	Tue Jul 17 11:40:32 2007
@@ -5,7 +5,6 @@ LIBNAME_COMMON = libosdep.a
 SRCS_COMMON-$(HAVE_SYS_MMAN_H)       += mmap_anon.c
 SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c
 
-SRCS_COMMON-$(NEED_FSEEKO)           += fseeko.c
 SRCS_COMMON-$(NEED_FTELLO)           += ftello.c
 SRCS_COMMON-$(NEED_GETTIMEOFDAY)     += gettimeofday.c
 SRCS_COMMON-$(NEED_GLOB)             += glob-win.c



More information about the MPlayer-cvslog mailing list