kopia lustrzana https://gitlab.com/sane-project/backends
2003-01-25 Jochen Eisinger <jochen.eisinger@gmx.de>
* sanei/sanei_pa4s2.c: added some #ifdefs to make it compile with the Intel C++ Compiler (icc). The icc cannot expand assembler inline macros (at least not with -ip)RELEASE_1_0_11_BRANCH
rodzic
3c30357f9d
commit
59071c8d43
|
@ -1,3 +1,9 @@
|
|||
2003-01-25 Jochen Eisinger <jochen.eisinger@gmx.de>
|
||||
|
||||
* sanei/sanei_pa4s2.c: added some #ifdefs to make it compile with
|
||||
the Intel C++ Compiler (icc). The icc cannot expand assembler
|
||||
inline macros (at least not with -ip)
|
||||
|
||||
2003-01-24 Jochen Eisinger <jochen.eisinger@gmx.de>
|
||||
|
||||
* backend/mustek_pp_ccd300.c: continued on the CCD low-level driver.
|
||||
|
|
|
@ -65,13 +65,29 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_IO_H
|
||||
#if defined(__ICC) /* the Intel C++ Compiler cannot expand asm inline macros */
|
||||
|
||||
#if defined(HAVE_SYS_IO_H)
|
||||
#include <sys/io.h>
|
||||
#elif HAVE_ASM_IO_H
|
||||
#elif defined(HAVE_ASM_IO_H)
|
||||
#include <asm/io.h> /* ugly, but backwards compatible */
|
||||
#elif HAVE_SYS_HW_H
|
||||
#elif defined(HAVE_SYS_HW_H)
|
||||
#include <sys/hw.h>
|
||||
#elif defined(__i386__) && defined (__GNUC__)
|
||||
#endif
|
||||
|
||||
#undef HAVE_SYS_IO_H
|
||||
#undef HAVE_ASM_IO_H
|
||||
#undef HAVE_SYS_HW_H
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SYS_IO_H)
|
||||
#include <sys/io.h>
|
||||
#elif defined(HAVE_ASM_IO_H)
|
||||
#include <asm/io.h> /* ugly, but backwards compatible */
|
||||
#elif defined(HAVE_SYS_HW_H)
|
||||
#include <sys/hw.h>
|
||||
#elif defined(__i386__) && ( defined (__GNUC__) || defined (__ICC) )
|
||||
|
||||
static __inline__ void
|
||||
outb (u_char value, u_long port)
|
||||
|
|
Ładowanie…
Reference in New Issue