mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
- Autodetect FreeBSD variant - Altivec/VMX fixes for non-Mac PPC
This commit is contained in:
parent
2a669ee12a
commit
1afbd40efb
3
makefile
3
makefile
@ -83,6 +83,9 @@ endif
|
||||
ifeq ($(firstword $(filter FreeBSD,$(UNAME))),FreeBSD)
|
||||
TARGETOS = freebsd
|
||||
endif
|
||||
ifeq ($(firstword $(filter GNU/kFreeBSD,$(UNAME))),GNU/kFreeBSD)
|
||||
TARGETOS = freebsd
|
||||
endif
|
||||
ifeq ($(firstword $(filter OpenBSD,$(UNAME))),OpenBSD)
|
||||
TARGETOS = openbsd
|
||||
endif
|
||||
|
@ -164,6 +164,7 @@ const struct _rgbsse_statics rgbsse_statics =
|
||||
***************************************************************************/
|
||||
|
||||
#if defined(__ALTIVEC__)
|
||||
#include <altivec.h>
|
||||
const struct _rgbvmx_statics rgbvmx_statics =
|
||||
{
|
||||
{ 255, 255, 255, 255, 255, 255, 255, 255 },
|
||||
|
@ -12,7 +12,7 @@
|
||||
#ifndef __RGBVMX__
|
||||
#define __RGBVMX__
|
||||
|
||||
#ifndef __APPLE_ALTIVEC__
|
||||
#if defined(__ALTIVEC__)
|
||||
#include <altivec.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user