diff options
author | Mark Palange (Mani) <palange@lindenlab.com> | 2010-06-01 17:23:25 -0700 |
---|---|---|
committer | Mark Palange (Mani) <palange@lindenlab.com> | 2010-06-01 17:23:25 -0700 |
commit | 6886bd65ddaa07f6fb22e243995964084acce998 (patch) | |
tree | 4f9f3806929ecc0b247fc2b1ebde6d0524d73ba1 /indra/llcommon | |
parent | 047f88b64e7fcad7e55887e5a91f008d276645b3 (diff) |
EXT-3780 FIX Re-added LL_X86 and LLX86_64 defines
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llprocessor.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/llcommon/llprocessor.cpp b/indra/llcommon/llprocessor.cpp index f991190d7a..75f1c7e36c 100644 --- a/indra/llcommon/llprocessor.cpp +++ b/indra/llcommon/llprocessor.cpp @@ -46,6 +46,20 @@ #include "llsd.h" +#if LL_MSVC && _M_X64 +# define LL_X86_64 1 +# define LL_X86 1 +#elif LL_MSVC && _M_IX86 +# define LL_X86 1 +#elif LL_GNUC && ( defined(__amd64__) || defined(__x86_64__) ) +# define LL_X86_64 1 +# define LL_X86 1 +#elif LL_GNUC && ( defined(__i386__) ) +# define LL_X86 1 +#elif LL_GNUC && ( defined(__powerpc__) || defined(__ppc__) ) +# define LL_PPC 1 +#endif + class LLProcessorInfoImpl; // foward declaration for the mImpl; namespace |