msvcrt/process.h: __cdecl and __stdcall undefined

Dimitrie O. Paun dpaun at rogers.com
Sat Jan 11 14:44:59 CST 2003


I know this is maybe not the nicest fix, but currently process.h
is utterly broken.

Maybe we should move the __cdecl and __stdcall definition to a
include/wine header, betcause it is a Wine specific thing! :)

ChangeLog
  Include <windef.h> for __cdecl and __stdcall

Index: include/msvcrt/process.h
===================================================================
RCS file: /var/cvs/wine/include/msvcrt/process.h,v
retrieving revision 1.6
diff -u -r1.6 process.h
--- include/msvcrt/process.h    18 Dec 2002 20:17:20 -0000      1.6
+++ include/msvcrt/process.h    11 Jan 2003 20:44:11 -0000
@@ -17,6 +17,9 @@
 # endif
 #endif

+/* needed for __cdecl and __stdcall */
+#include <windef.h>
+
 #ifndef MSVCRT_WCHAR_T_DEFINED
 #define MSVCRT_WCHAR_T_DEFINED
 #ifndef __cplusplus

-- 
Dimi.




More information about the wine-patches mailing list