comparison 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
comparison
equal deleted inserted replaced
395:5a62beca21f2 396:d3071c7bb046
19 #include <mmsystem.h> 19 #include <mmsystem.h>
20 #include <stdio.h> 20 #include <stdio.h>
21 21
22 inline void ProcessPlugins(int n) {} 22 inline void ProcessPlugins(int n) {}
23 23
24 #elif defined(__x86_64__) 24 #elif defined(__x86_64__) || defined(__powerpc64__)
25 25
26 #include <stdlib.h> 26 #include <stdlib.h>
27 #include <stdio.h> 27 #include <stdio.h>
28 #include <string.h> 28 #include <string.h>
29 29
97 97
98 typedef signed char CHAR; 98 typedef signed char CHAR;
99 typedef unsigned char UCHAR; 99 typedef unsigned char UCHAR;
100 typedef unsigned char* PUCHAR; 100 typedef unsigned char* PUCHAR;
101 typedef unsigned short USHORT; 101 typedef unsigned short USHORT;
102 #if defined(__x86_64__) 102 #if defined(__x86_64__) || defined(__powerpc64__)
103 typedef unsigned int ULONG; 103 typedef unsigned int ULONG;
104 typedef unsigned int UINT; 104 typedef unsigned int UINT;
105 typedef unsigned int DWORD; 105 typedef unsigned int DWORD;
106 typedef int LONG; 106 typedef int LONG;
107 typedef long LONGLONG; 107 typedef long LONGLONG;