diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-11-11 17:34:22 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-11-11 17:34:22 +0000 |
commit | 540c406a6fcbd303b88bb27c84b15c36209c0bce (patch) | |
tree | 99f94e9661a9b36769571bc10e0ce25f8af07070 /packet-snmp.c | |
parent | 5d194322470385f790e8b7c9af13d75dfc04852a (diff) |
"#ifdef" doesn't take Boolean expressions as arguments; use "#if
defined(A) && defined(B)" to check whether both A and B are defined.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6613 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-snmp.c')
-rw-r--r-- | packet-snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-snmp.c b/packet-snmp.c index 223ab563dc..1b55fddd14 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -10,7 +10,7 @@ * * See RFCs 2570-2576 for SNMPv3 * - * $Id: packet-snmp.c,v 1.101 2002/11/10 20:53:03 gerald Exp $ + * $Id: packet-snmp.c,v 1.102 2002/11/11 17:34:22 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2008,7 +2008,7 @@ dissect_smux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) void proto_register_snmp(void) { -#ifdef WIN32 && HAVE_SOME_SNMP +#if defined(WIN32) && defined(HAVE_SOME_SNMP) char *mib_path; #define MIB_PATH_APPEND "snmp\\mibs" #endif |