kopia lustrzana https://gitlab.com/sane-project/backends
Disable the new Linux SG interface for sparc64 to work-around 32 bit userland
/ 64 bit kernel problems.RELEASE_1_0_11_BRANCH
rodzic
4c36caa5ac
commit
cb2e483d60
|
@ -1,3 +1,9 @@
|
|||
2003-01-17 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||
|
||||
* configure configure.in include/sane/config.h.in sanei/sanei_scsi.c:
|
||||
Disable the new Linux SG interface for sparc64 to work-around 32 bit
|
||||
userland / 64 bit kernel problems.
|
||||
|
||||
2003-01-16 Frank Zago <fzago at austin dot rr dot com>
|
||||
|
||||
* backend/leo.c doc/descriptions/leo.desc doc/leo/leo.txt: Added
|
||||
|
|
Plik diff jest za duży
Load Diff
|
@ -202,6 +202,11 @@ if test "${ac_cv_header_usb_h}" = "yes" ; then
|
|||
fi
|
||||
fi
|
||||
|
||||
dnl disable Linux SCSI generic version 3 to avoid 32/64 bit problems
|
||||
if test "`uname`" = "sparc64" ; then
|
||||
AC_DEFINE(DISABLE_LINUX_SG_IO, 1, [Should we disable SCSI generic v3?])
|
||||
fi
|
||||
|
||||
dnl ***********************************************************************
|
||||
dnl initialize libtool
|
||||
dnl ***********************************************************************
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Should we disable SCSI generic v3? */
|
||||
#undef DISABLE_LINUX_SG_IO
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#undef HAVE_ALLOCA
|
||||
|
||||
|
@ -368,13 +371,13 @@
|
|||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#undef pid_t
|
||||
|
||||
/* Define scsireq_t as `struct scsireq' if necessary. */
|
||||
/* Define scsireq_t as \`struct scsireq\' if necessary. */
|
||||
#undef scsireq_t
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
/* Define socklen_t as `int' if necessary. */
|
||||
/* Define socklen_t as \`int\' if necessary. */
|
||||
#undef socklen_t
|
||||
|
||||
/* Define to `long' if <sys/types.h> does not define. */
|
||||
|
|
|
@ -179,6 +179,10 @@
|
|||
# include "sanei_DomainOS.h"
|
||||
#endif
|
||||
|
||||
#ifdef DISABLE_LINUX_SG_IO
|
||||
#undef SG_IO
|
||||
#endif /* DISABLE_LINUX_SG_IO */
|
||||
|
||||
#ifndef USE
|
||||
# define USE STUBBED_INTERFACE
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue