Description: fix build on powerpc architecture
Author: Roberto Oliveira <robertoguimaraes8@gmail.com>
Last-Update: 2017-08-30

Add definition for UInt32 type and add missing altivec include
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/source/groove.cpp
+++ b/source/groove.cpp
@@ -22,6 +22,10 @@
 #pragma warning (disable:4244)
 #endif
 
+#ifdef __powerpc__
+#include <altivec.h>
+#endif
+
 #define XZONE_TABLE 512
 
 
--- a/source/main.h
+++ b/source/main.h
@@ -77,6 +77,14 @@
     #include <Carbon/Carbon.h>
     #endif
 
+   #ifdef __powerpc__
+   #if __LP64__
+      typedef unsigned int UInt32;
+   #else
+      typedef unsigned long UInt32;
+   #endif
+   #endif
+
 	// Initialize a prefetch constant for use with vec_dst(), vec_dstt(), vec_dstst or vec_dststt
 	// Taken from the "AltiVec tutorial" by Ian Ollmann, Ph.D. 
 	inline UInt32 GetPrefetchConstant( int blockSizeInVectors,int blockCount,int blockStride )
