comparison loader/wine/windef.h @ 128:28091b3caff9

DLL loader updated from avifile-0.60beta4
author arpi_esp
date Sun, 18 Mar 2001 01:01:03 +0000
parents 3b5f5d1c5041
children 8f393ca085bf
comparison
equal deleted inserted replaced
127:d0b331c91b3a 128:28091b3caff9
111 #define __stdcall __attribute__((__stdcall__)) 111 #define __stdcall __attribute__((__stdcall__))
112 #define __cdecl __attribute__((__cdecl__)) 112 #define __cdecl __attribute__((__cdecl__))
113 # define __RESTORE_ES __asm__ __volatile__("pushl %ds\n\tpopl %es") 113 # define __RESTORE_ES __asm__ __volatile__("pushl %ds\n\tpopl %es")
114 # endif 114 # endif
115 # else 115 # else
116 //# error You need gcc >= 2.7 to build Wine on a 386 116 # error You need gcc >= 2.7 to build Wine on a 386
117 # endif 117 # endif
118 #else 118 #else
119 # define __stdcall 119 # define __stdcall
120 # define __cdecl 120 # define __cdecl
121 # define __RESTORE_ES 121 # define __RESTORE_ES
164 /* Some systems might have wchar_t, but we really need 16 bit characters */ 164 /* Some systems might have wchar_t, but we really need 16 bit characters */
165 typedef unsigned short WCHAR; 165 typedef unsigned short WCHAR;
166 typedef int WIN_BOOL; 166 typedef int WIN_BOOL;
167 typedef double DATE; 167 typedef double DATE;
168 typedef double DOUBLE; 168 typedef double DOUBLE;
169 typedef double LONGLONG; 169 typedef long long LONGLONG;
170 typedef double ULONGLONG; 170 typedef unsigned long long ULONGLONG;
171 171
172 /* FIXME: Wine does not compile with strict on, therefore strict 172 /* FIXME: Wine does not compile with strict on, therefore strict
173 * handles are presently only usable on machines where sizeof(UINT) == 173 * handles are presently only usable on machines where sizeof(UINT) ==
174 * sizeof(void*). HANDLEs are supposed to be void* but a large amount 174 * sizeof(void*). HANDLEs are supposed to be void* but a large amount
175 * of WINE code operates on HANDLES as if they are UINTs. So to WINE 175 * of WINE code operates on HANDLES as if they are UINTs. So to WINE