source: config-win.h @ f0c639b

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since f0c639b was 6ed6c4a, checked in by Brendon Jones <brendonj@…>, 14 years ago

Windows portability fixes.

Windows doesn't have a gettimeofday function, provided an alternate
path that uses _ftime with _timeb structs. This only provides
millisecond resolution rather than microsecond.

Added a few checks to make sure headers that aren't present in
Windows don't get included.

Added new files to the Visual Studio project/solution.

Modified the windows config file to include a few more #defines that
were needed to make pcap support build properly.

  • Property mode set to 100755
File size: 375 bytes
Line 
1#define PACKAGE_VERSION "3.0.0"
2
3#define HAVE__STRNICMP 1
4//#define HAVE_SPRINTF_S 1
5
6// prevent pcap-int.h from redefining snprintf and vsnprintf
7#define HAVE_SNPRINTF 1
8#define HAVE_VSNPRINTF 1
9
10#define HAVE_LIMITS_H 1
11
12#define HAVE_LIBPCAP 1
13#define HAVE_PCAP 1
14#define HAVE_BPF 1
15#define HAVE_PCAP_H 1
16#define HAVE_PCAP_BPF_H 1
17#define HAVE_PCAP_INT_H 1
Note: See TracBrowser for help on using the repository browser.