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 14:13:04 +00:00
rodzic 641376bc7f
commit 705218fb1a
1 zmienionych plików z 8 dodań i 16 usunięć

Wyświetl plik

@ -65,24 +65,16 @@
#include <unistd.h>
#endif
#if defined(__ICC) /* the Intel C++ Compiler cannot expand asm inline macros */
#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>
#endif
#undef HAVE_SYS_IO_H
#undef HAVE_ASM_IO_H
#undef HAVE_SYS_HW_H
#endif
#if defined(HAVE_SYS_IO_H)
# if defined (__ICC) && __ICC >= 700
# define __GNUC__ 2
# endif
#include <sys/io.h>
# if defined (__ICC) && __ICC >= 700
# undef __GNUC__
# elif defined(__ICC) && defined(HAVE_ASM_IO_H)
# include <asm/io.h>
# endif
#elif defined(HAVE_ASM_IO_H)
#include <asm/io.h> /* ugly, but backwards compatible */
#elif defined(HAVE_SYS_HW_H)