Fix build on OpenPOWER (ppc64le) platforms

This commit is contained in:
Timothy Pearson 2018-08-15 21:53:49 -05:00
parent 95bd6193cc
commit 95454e9024
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Copyright (c) 2006 Simon Brown si@sjbrown.co.uk
Copyright (c) 2016 Raptor Engineering, LLC
Copyright (c) 2016 - 2018 Raptor Engineering, LLC
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@ -27,7 +27,7 @@
#ifndef NV_SIMD_VECTOR_VE_H
#define NV_SIMD_VECTOR_VE_H
#ifndef __APPLE_ALTIVEC__
#if !defined(__APPLE_ALTIVEC__) || defined(__PPC64__)
#include <altivec.h>
#undef bool
#endif

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Copyright (c) 2006 Simon Brown si@sjbrown.co.uk
Copyright (c) 2016 Raptor Engineering, LLC
Copyright (c) 2016 - 2018 Raptor Engineering, LLC
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@ -27,7 +27,7 @@
#ifndef SQUISH_SIMD_VE_H
#define SQUISH_SIMD_VE_H
#ifndef __APPLE_ALTIVEC__
#if !defined(__APPLE_ALTIVEC__) || defined(__PPC64__)
#include <altivec.h>
#undef bool
#endif