[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X Strike Force XFree86 SVN commit: r1347 - in trunk/debian: . patches scripts



On Sat, May 01, 2004 at 12:10:03PM -0500, X Strike Force SVN Repository Admin wrote:
> +@@ -58,7 +58,7 @@
> + #ifdef _LP64
> + # if defined(__sparcv9)
> + #  define	_MACH64_NAME		"sparcv9"
> +-# elif defined(__ia64__) 
> ++# elif defined(__ia64__) || defined(__amd64__)
> + #  undef MACH64_NAME
> + # else
> + #  error "Unknown architecture"

Shouldn't this simply be:

#if defined(_LP64) && defined(__sparcv9)
# define _MACH64_NAME	"sparcv9"
#else
# undef _MACH64_NAME
#endif

else you'll have to add to the negative list for every new architecture
that defines _LP64..



Reply to: