Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan config.h.win32

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Nov 2000 01:20:27 -0600 (CST)
guy         2000/11/22 01:20:27 CST

  Modified files:
    epan                 config.h.win32 
  Log:
  Generated Bison and Flex files test whether __STDC__ is defined
  in order to check whether to use ANSI C features such as "const".
  
  GCC defines it as 1 even if extensions that render the implementation
  non-conformant are enabled; Sun's C compiler (and, I think, other
  AT&T-derived C compilers) define it as 0 if extensions that render
  the implementation non-conformant are enabled; Microsoft Visual C++
  6.0 doesn't define it at all if extensions that render the implementation
  non-conformant are enabled.
  
  We define it as 0 in "config.h.win32", so that those generated files will use
  those features (and thus not get type warnings when compiled with
  MSVC++).
  
  Revision  Changes    Path
  1.3       +18 -1     ethereal/epan/config.h.win32