Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal globals.h packet-atalk.c packet-snmp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Laurent Deniel <deniel@xxxxxxxxxxxx>
Date: Sun, 12 Sep 1999 09:34:34 -0500 (CDT)
deniel      1999/09/12 09:34:29 CDT

  Modified files:
    .                    globals.h packet-atalk.c packet-snmp.c 
                         proto.c proto.h 
  Log:
  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
  
  Revision  Changes    Path
  1.4       +10 -10    ethereal/globals.h
  1.12      +4 -4      ethereal/packet-atalk.c
  1.9       +3 -3      ethereal/packet-snmp.c
  1.25      +3 -3      ethereal/proto.c
  1.11      +5 -5      ethereal/proto.h