diff src/modplug/stdafx.h @ 396:d3071c7bb046 trunk

[svn] Portability fix for PPC64 (64-bit userland).
author chainsaw
date Fri, 22 Dec 2006 15:34:37 -0800
parents 6b5a52635b3b
children a76855c7942e
line wrap: on
line diff
--- a/src/modplug/stdafx.h	Thu Dec 21 18:23:33 2006 -0800
+++ b/src/modplug/stdafx.h	Fri Dec 22 15:34:37 2006 -0800
@@ -21,7 +21,7 @@
 
 inline void ProcessPlugins(int n) {}
 
-#elif defined(__x86_64__)
+#elif defined(__x86_64__) || defined(__powerpc64__)
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -99,7 +99,7 @@
 typedef unsigned char UCHAR;
 typedef unsigned char* PUCHAR;
 typedef unsigned short USHORT;
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__powerpc64__)
 typedef unsigned int ULONG;
 typedef unsigned int UINT;
 typedef unsigned int DWORD;