diff options
author | guy <guy> | 2001-06-27 05:40:16 +0000 |
---|---|---|
committer | guy <guy> | 2001-06-27 05:40:16 +0000 |
commit | c3d82102cdf773bbd4968ebf97db7a252ced067b (patch) | |
tree | 93386c793f55533f72ef43ba950d6e8002325534 /nameser.h | |
parent | 615a19ccc1045fa5480c08d3431daf04345e21d2 (diff) | |
download | tcpdump-c3d82102cdf773bbd4968ebf97db7a252ced067b.tar.gz |
Yet *another* #define of ours that an OS also defines; in this case it's
T_NULL, defined by some STREAMS/TPI/XTI/TLI/whatever header file in
HP-UX - if it's defined, undefine it before we define it, to squelch
compiler warnings.
Diffstat (limited to 'nameser.h')
-rw-r--r-- | nameser.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* @(#) $Header: /tcpdump/master/tcpdump/nameser.h,v 1.8 2001-06-26 06:19:03 guy Exp $ (LBL) */ +/* @(#) $Header: /tcpdump/master/tcpdump/nameser.h,v 1.9 2001-06-27 05:40:16 guy Exp $ (LBL) */ /* * Copyright (c) 1983, 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -97,8 +97,11 @@ /* * Undefine various #defines from various System V-flavored OSes (Solaris, - * SINIX) so the compiler doesn't whine that we redefine them. + * SINIX, HP-UX) so the compiler doesn't whine that we redefine them. */ +#ifdef T_NULL +#undef T_NULL +#endif #ifdef T_OPT #undef T_OPT #endif |