fix powerpc build

Evidently, the powerpc gcc compiler feels it necessary to #define powerpc to 1. Seriously?  SERIOUSLY????
This commit is contained in:
Joshua Warner 2013-02-28 16:41:44 -07:00
parent 0b01dd565a
commit add029ad3c
3 changed files with 15 additions and 0 deletions

View File

@ -27,6 +27,14 @@
#include "float.h"
#ifdef powerpc
# undef powerpc
#endif
#ifdef linux
# undef linux
#endif
// don't complain about using 'this' in member initializers:
# pragma warning(disable:4355)

View File

@ -14,6 +14,9 @@
#include <avian/vm/codegen/assembler.h>
#include "avian/alloc-vector.h"
#ifdef powerpc
#undef powerpc
#endif
namespace vm {
class System;

View File

@ -11,6 +11,10 @@
#ifndef AVIAN_CODEGEN_ASSEMBLER_POWERPC_ENCODE_H
#define AVIAN_CODEGEN_ASSEMBLER_POWERPC_ENCODE_H
#ifdef powerpc
#undef powerpc
#endif
namespace avian {
namespace codegen {
namespace powerpc {