Skip to content

Commit

Permalink
Remove symbol redefinition on VS2015
Browse files Browse the repository at this point in the history
Since VS2015 has native support for snprintf we don't need to define it.
See more: in comments nmap@41f34f93
  • Loading branch information
Komosa committed Feb 22, 2016
1 parent 3e2657d commit 0a7913e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wpcap/libpcap/pcap/pcap.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#ifndef lib_pcap_pcap_h
#define lib_pcap_pcap_h

#if defined(WIN32)
#if defined(WIN32) && _MSC_VER < 1900
#define snprintf _snprintf
#endif

Expand Down

0 comments on commit 0a7913e

Please sign in to comment.