Commit 705218fb authored by Jochen Eisinger's avatar Jochen Eisinger

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)
parent 641376bc
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment