Fix ppc64le build

This commit is contained in:
yamir 2019-07-07 18:07:39 +02:00 committed by Daniel Gibson
parent c24795b700
commit 2c701bdc0e
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ If you have questions concerning this license or the applicable additional terms
//
//===============================================================
#if defined(__GNUC__) && defined(__ALTIVEC__)
#if defined(MACOS_X) && defined(__GNUC__) && defined(__ALTIVEC__)
#ifdef PPC_INTRINSICS
// for square root estimate instruction

View file

@ -110,7 +110,7 @@ If you have questions concerning this license or the applicable additional terms
//#define DRAWVERT_PADDED
class idSIMD_AltiVec : public idSIMD_Generic {
#if defined(__GNUC__) && defined(__ALTIVEC__)
#if defined(MACOS_X) && defined(__GNUC__) && defined(__ALTIVEC__)
public:
virtual const char * VPCALL GetName( void ) const;