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
Jochen Eisinger 2003-01-26 13:43:32 +00:00
rodzic 3c30357f9d
commit 59071c8d43
2 zmienionych plików z 26 dodań i 4 usunięć

Wyświetl plik

@ -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.

Wyświetl plik

@ -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)