diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-04-06 17:25:56 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-04-09 17:38:28 -0700 |
commit | 756085f91d0f01c69550735cf2e60cae54d9c72a (patch) | |
tree | 4aa08505fe01fbb7265e5798d86355229b4b5e93 /src/common/sanity.hpp | |
parent | 9c13169778f55eec42fde14e12b2cc3c2f601c4e (diff) | |
download | tmwa-756085f91d0f01c69550735cf2e60cae54d9c72a.tar.gz tmwa-756085f91d0f01c69550735cf2e60cae54d9c72a.tar.bz2 tmwa-756085f91d0f01c69550735cf2e60cae54d9c72a.tar.xz tmwa-756085f91d0f01c69550735cf2e60cae54d9c72a.zip |
Native amd64 support
Diffstat (limited to 'src/common/sanity.hpp')
-rw-r--r-- | src/common/sanity.hpp | 10 |
1 files changed, 2 insertions, 8 deletions
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 |