PROXY_TYPE_DIRECT collision

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

PROXY_TYPE_DIRECT collision

Postby nvine » Mon Mar 12, 2012 6:19 am

I encountered a compilation error while using PROXY_TYPE_DIRECT defined in cef_types.h, which also happens to be a #define in the system header, WinInet.h,
Code: Select all
//
// PER_CONN_FLAGS
//
#define PROXY_TYPE_DIRECT                               0x00000001   // direct to net
#define PROXY_TYPE_PROXY                                0x00000002   // via named proxy
#define PROXY_TYPE_AUTO_PROXY_URL                       0x00000004   // autoproxy URL
#define PROXY_TYPE_AUTO_DETECT                          0x00000008   // use autoproxy detection


Is it possible to rename this enum members, say prefix CEF_ ?
Thanks.
nvine
Mentor
 
Posts: 56
Joined: Tue Feb 21, 2012 11:13 pm

Re: PROXY_TYPE_DIRECT collision

Postby magreenblatt » Mon Mar 12, 2012 7:50 am

Please add an issue to the CEF issue tracker.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: Google [Bot] and 165 guests