changeset 396:d3071c7bb046 trunk

[svn] Portability fix for PPC64 (64-bit userland).
author chainsaw
date Fri, 22 Dec 2006 15:34:37 -0800
parents 5a62beca21f2
children b523312b6b0d
files ChangeLog src/modplug/stdafx.h
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Dec 21 18:23:33 2006 -0800
+++ b/ChangeLog	Fri Dec 22 15:34:37 2006 -0800
@@ -1,3 +1,11 @@
+2006-12-22 02:23:33 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [866]
+  - oh wait, yaz fixed this already
+  
+  trunk/Makefile |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-12-22 02:22:00 +0000  William Pitcock <nenolod@nenolod.net>
   revision [864]
   - back out po target until Makefile is generated properly
--- 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;