From http://ask.wireshark.org/questions/14343/setting-development-project-under-visual-studio-2012, you indicated the error was:
"ws2tcpip.h(531) : error C2373: 'ws_inet_pton' : redefinition; different type modifiers".
Could this be because of the const modifier? What happens if you remove "const"?
Compare http://linux.die.net/man/3/inet_pton to http://msdn.microsoft.com/en-us/library/windows/desktop/cc805844%28v=vs.85%29.aspx
> -----Original Message-----
> From: wireshark-commits-bounces@xxxxxxxxxxxxx [mailto:wireshark-
> commits-bounces@xxxxxxxxxxxxx] On Behalf Of wmeier@xxxxxxxxxxxxx
> Sent: Tuesday, September 18, 2012 3:42 PM
> To: wireshark-commits@xxxxxxxxxxxxx
> Subject: [Wireshark-commits] rev 44982: /trunk/ /trunk/: config.nmake
>
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44982
>
> User: wmeier
> Date: 2012/09/18 12:42 PM
>
> Log:
> Add stuff to config to build with VS2012. However: build currently
> fails.
>
> Directory: /trunk/
> Changes Path Action
> +15 -2 config.nmake Modified
>
> _______________________________________________________________________
> ____
> Sent via: Wireshark-commits mailing list <wireshark-
> commits@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-commits
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
> mailto:wireshark-commits-
> request@xxxxxxxxxxxxx?subject=unsubscribe
CONFIDENTIALITY NOTICE: The information contained in this email message is intended only for use of the intended recipient. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately delete it from your system and notify the sender by replying to this email. Thank you.