Merge pull request #287 from madscientist159/master
Fix build on OpenPOWER (ppc64le) platforms
This commit is contained in:
commit
5c70ffef0b
@ -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…
Reference in New Issue
Block a user