Merge pull request #287 from madscientist159/master

Fix build on OpenPOWER (ppc64le) platforms
This commit is contained in:
Ignacio 2018-08-19 14:04:22 -07:00 committed by GitHub
commit 5c70ffef0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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