* PowerPC architecture.
*/
+#ifdef __amigaos4__
+/* This must be defined first as it re-defines GLOBAL otherwise */
+#include <proto/exec.h>
+#endif
+
#define JPEG_INTERNALS
#include "../jinclude.h"
#include "../jpeglib.h"
if (bufsize > SOMEWHAT_SANE_PROC_CPUINFO_SIZE_LIMIT)
break;
}
+#elif defined(__amigaos4__)
+ uint32 altivec = 0;
+ IExec->GetCPUInfoTags(GCIT_VectorUnit, &altivec, TAG_DONE);
+ if(altivec == VECTORTYPE_ALTIVEC)
+ simd_support |= JSIMD_ALTIVEC;
#endif
/* Force different settings through environment variables */