diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2009-08-31 19:13:50 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2009-08-31 19:13:50 +0000 |
commit | 4a50092991aa24c21bd6864848ea86597114ae7b (patch) | |
tree | 6f9323cb75cf9b1c6de40055ce3af642231da05c /dumpcap.c | |
parent | 612f839c1fc149af845608719e112127952e69bd (diff) | |
download | wireshark-4a50092991aa24c21bd6864848ea86597114ae7b.tar.gz wireshark-4a50092991aa24c21bd6864848ea86597114ae7b.tar.bz2 wireshark-4a50092991aa24c21bd6864848ea86597114ae7b.zip |
Use a timeout of a second for Mac OS X, when building
a 64-bit application. Workaround a bug in Mac OS X...
svn path=/trunk/; revision=29641
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -250,7 +250,11 @@ static loop_data global_ld; /* * Timeout, in milliseconds, for reads from the stream of captured packets. */ +#if defined(__APPLE__) && defined(__LP64__) +#define CAP_READ_TIMEOUT 1000 +#else #define CAP_READ_TIMEOUT 250 +#endif /* * Timeout, in microseconds, for threaded reads from a pipe. */ |