Compile-time fix for VC++2008 Express

This commit is contained in:
tomch 2008-09-28 14:03:40 +00:00
parent 694ea3b07b
commit e607fa16c1

View File

@ -39,6 +39,8 @@
#define caddr_t char*
#define snprintf _snprintf
#define vsnprintf _vsnprintf
// TC: TfeArch.cpp includes pcap.h (before stdio.h), which includes Pcap_stdinc.h which redefines: snprintf & vsnprintf
// - This causes VC++2008 Express to give a compile error for stdio.h!
//#define snprintf _snprintf
//#define vsnprintf _vsnprintf