Fix build on OpenPOWER (ppc64le) platforms

pull/287/head
Timothy Pearson 6 years ago
parent 95bd6193cc
commit 95454e9024

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

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

Loading…
Cancel
Save