diff options
author | Laurent Deniel <laurent.deniel@free.fr> | 1999-09-12 14:34:36 +0000 |
---|---|---|
committer | Laurent Deniel <laurent.deniel@free.fr> | 1999-09-12 14:34:36 +0000 |
commit | 35d5e37a82ece5fe0bf4d47e0bb5dbcf8362961c (patch) | |
tree | 3ce23e7dd1758edb0af23b00dc86f9e4891fffc4 /proto.c | |
parent | a8dc5a1a0cd5b769ba8b7faeb666a64b41bfb8d4 (diff) |
Some old CPP or tools that take C code in input do
not like #preprocessor_macros that do not start at
the first column.
So write:
#ifdef FOO
# include <dummy1.h>
# define DUMMY 1
#else
# include <dummy2.h>
# define DUMMY 2
#endif
instead of
#ifdef FOO
#include <dummy1.h>
#define DUMMY 1
#else
#include <dummy2.h>
#define DUMMY 2
#endif
svn path=/trunk/; revision=668
Diffstat (limited to 'proto.c')
-rw-r--r-- | proto.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* proto.c * Routines for protocol tree * - * $Id: proto.c,v 1.24 1999/09/12 06:11:37 guy Exp $ + * $Id: proto.c,v 1.25 1999/09/12 14:34:19 deniel Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -64,9 +64,9 @@ #define cVALS(x) (const value_string*)(x) #if defined(HAVE_UCD_SNMP_SNMP_H) - #define WITH_SNMP_UCD 1 +# define WITH_SNMP_UCD 1 #elif defined(HAVE_SNMP_SNMP_H) - #define WITH_SNMP_CMU 1 +# define WITH_SNMP_CMU 1 #endif static gboolean |