[Libevent-users] patch for building libevent with vs2008
liusifan
liusifan at gmail.com
Thu Jun 12 11:00:28 EDT 2008
Hi, all
Libevent svn main trunk cannot build with vs2008.
The patch is in attachment.
Changes: Rename INPUT to EVRPC_INPUT and OUTPUT to EVRPC_INPUT
The following definition is conflict with system header.
==========================================================
libevent/evrpc.h
enum EVRPC_HOOK_TYPE {
INPUT, /**< apply the function to an input hook */
OUTPUT /**< apply the function to an output hook */
};
==========================================================
windows\v6.0a\include\winuser.h
typedef struct tagINPUT {
DWORD type;
union
{
MOUSEINPUT mi;
KEYBDINPUT ki;
HARDWAREINPUT hi;
};
} INPUT, *PINPUT, FAR* LPINPUT;
Stephen Liu
2008-06-12
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vs2008.diff.txt
Type: application/octet-stream
Size: 2862 bytes
Desc: not available
Url : http://monkeymail.org/archives/libevent-users/attachments/20080612/057bcf90/vs2008.diff.obj
More information about the Libevent-users
mailing list