Mike McCormack : include: Fix FARPROC, NEARPROC and PROC definitions for amd64.
Module: wine Branch: refs/heads/master Commit: 77a83a7f4d36027df86aeacea9e0cd9c1c12fe8d URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=77a83a7f4d36027df86aeace... Author: Mike McCormack <mike(a)codeweavers.com> Date: Sun Jun 4 00:27:33 2006 +0900 include: Fix FARPROC, NEARPROC and PROC definitions for amd64. --- include/windef.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/windef.h b/include/windef.h index 2c76d7b..63fdcf7 100644 --- a/include/windef.h +++ b/include/windef.h @@ -279,8 +279,9 @@ typedef HICON HCURSOR; /* Callback function pointers types */ -typedef INT (CALLBACK *FARPROC)(); -typedef INT (CALLBACK *PROC)(); +typedef INT_PTR (CALLBACK *FARPROC)(); +typedef INT_PTR (CALLBACK *NEARPROC)(); +typedef INT_PTR (CALLBACK *PROC)(); /* Macros to split words and longs. */
participants (1)
-
Alexandre Julliard