summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-01-14 03:50:20 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-01-14 03:50:20 +0000
commite9d5b096735ea6dc46085535130d4e512225869f (patch)
tree43a4e5652a4ec7d968fff8cecc35b71405d0b807 /libpcsxcore
parentd3f9d45505290c3d5e348936e53cb6714dc18b38 (diff)
downloadpcsxr-e9d5b096735ea6dc46085535130d4e512225869f.tar.gz
- applied MaddTheSane's patch (Issue #7819).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62080 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/Makefile.am2
-rw-r--r--libpcsxcore/ppc/pasm.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpcsxcore/Makefile.am b/libpcsxcore/Makefile.am
index 74fced40..6c84e354 100644
--- a/libpcsxcore/Makefile.am
+++ b/libpcsxcore/Makefile.am
@@ -81,5 +81,5 @@ libpcsxcore_a_SOURCES += \
$(top_builddir)/libpcsxcore/ppc/reguse.c \
$(top_builddir)/libpcsxcore/ppc/pasm.s \
$(top_builddir)/libpcsxcore/
-libpcsxcore_a_CCASFLAGS = -x assembler-with-cpp -mregnames
+libpcsxcore_a_CCASFLAGS = -x assembler-with-cpp -mregnames -D__POWERPC__
endif
diff --git a/libpcsxcore/ppc/pasm.s b/libpcsxcore/ppc/pasm.s
index 753af4b8..665e4050 100644
--- a/libpcsxcore/ppc/pasm.s
+++ b/libpcsxcore/ppc/pasm.s
@@ -1,5 +1,5 @@
-#if defined (__ppc__) || defined (__ppc64__) || defined (__powerpc__) || (__powerpc64__)
+#if defined (__ppc__) || defined (__ppc64__) || defined (__powerpc__) || (__powerpc64__) || defined __POWERPC__
#if defined (ELF) || defined (__linux__)
#define C(label) label