[MPlayer-cvslog] r36048 - in trunk: configure loader/ldt_keeper.c
diego
subversion at mplayerhq.hu
Sat Mar 23 15:48:23 CET 2013
Author: diego
Date: Sat Mar 23 15:48:22 2013
New Revision: 36048
Log:
build: Drop unused part of sysi86() check.
Modified:
trunk/configure
trunk/loader/ldt_keeper.c
Modified: trunk/configure
==============================================================================
--- trunk/configure Sat Mar 23 15:48:16 2013 (r36047)
+++ trunk/configure Sat Mar 23 15:48:22 2013 (r36048)
@@ -4091,13 +4091,9 @@ echores "$_setmode"
if sunos; then
echocheck "sysi86()"
_sysi86=no
-statement_check sys/sysi86.h 'sysi86(0)' && _sysi86=yes
-if test "$_sysi86" = yes ; then
- def_sysi86='#define HAVE_SYSI86 1'
- statement_check sys/sysi86.h 'int sysi86(int, void*); sysi86(0)' && def_sysi86_iv='#define HAVE_SYSI86_iv 1'
-else
- def_sysi86='#undef HAVE_SYSI86'
-fi
+def_sysi86='#define HAVE_SYSI86 0'
+statement_check sys/sysi86.h 'int sysi86(int, void*); sysi86(0)' &&
+ _sysi86=yes && def_sysi86='#define HAVE_SYSI86 1'
echores "$_sysi86"
fi #if sunos
Modified: trunk/loader/ldt_keeper.c
==============================================================================
--- trunk/loader/ldt_keeper.c Sat Mar 23 15:48:16 2013 (r36047)
+++ trunk/loader/ldt_keeper.c Sat Mar 23 15:48:22 2013 (r36048)
@@ -63,7 +63,7 @@ int modify_ldt(int func, void *ptr, unsi
#include <sys/sysi86.h>
/* solaris x86: add missing prototype for sysi86(), but only when sysi86(int, void*) is known to be valid */
-#ifdef HAVE_SYSI86_iv
+#if HAVE_SYSI86
int sysi86(int, void*);
#endif
More information about the MPlayer-cvslog
mailing list