From 756085f91d0f01c69550735cf2e60cae54d9c72a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 6 Apr 2013 17:25:56 -0700 Subject: Native amd64 support --- src/common/sanity.hpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/common/sanity.hpp') diff --git a/src/common/sanity.hpp b/src/common/sanity.hpp index 8271ef8..e54739f 100644 --- a/src/common/sanity.hpp +++ b/src/common/sanity.hpp @@ -44,17 +44,11 @@ # endif // compiler and not library # endif // __GNUC__ == 4 -# ifndef __i386__ +# if not defined(__i386__) and not defined(__x86_64__) // Known platform dependencies: // endianness for the [RW]FIFO.* macros // possibly, some signal-handling -# error "Unsupported platform" +# error "Unsupported platform use x86 / amd64 only" # endif // not __i386__ -# ifdef __x86_64__ -// I'm working on it - I know there are some pointer-size assumptions. -# error "Sorry, this code is believed not to be 64-bit safe" -# error "please compile with -m32" -# endif // __x86_64__ - #endif // SANITY_HPP -- cgit v1.2.3-70-g09d2