Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap buffer.h

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:44 -0500 (CDT)
deniel      1999/09/12 09:34:41 CDT

  Modified files:
    wiretap              buffer.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.3       +5 -5      ethereal/wiretap/buffer.h