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

Attachment: vs2008.diff.txt
Description: Binary data

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to