We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8aca18 commit 5f2220cCopy full SHA for 5f2220c
1 file changed
src/pylzma/pylzma.c
@@ -198,6 +198,10 @@ pylzma_bcj_##id##_convert(PyObject *self, PyObject *args) \
198
return result; \
199
}
200
201
+// Some PowerPC compilers have a builtin define "PPC" that generates invalid
202
+// code from the "DEFINE_BCJ_CONVERTER" macro.
203
+#undef PPC
204
+
205
DEFINE_BCJ_CONVERTER(arm, ARM);
206
DEFINE_BCJ_CONVERTER(armt, ARMT);
207
DEFINE_BCJ_CONVERTER(arm64, ARM64);
0 commit comments