/[bison]/bison/src/system.h
ViewVC logotype

Diff of /bison/src/system.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.58 by eggert, Fri Dec 13 08:44:28 2002 UTC revision 1.59 by eggert, Fri Jan 3 14:15:16 2003 UTC
# Line 1  Line 1 
1  /* System-dependent definitions for Bison.  /* System-dependent definitions for Bison.
2     Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.  
3       Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4    
5     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 185  void *memrchr (const void *s, int c, siz Line 186  void *memrchr (const void *s, int c, siz
186  #if HAVE_STDBOOL_H  #if HAVE_STDBOOL_H
187  # include <stdbool.h>  # include <stdbool.h>
188  #else  #else
189  typedef enum {false = 0, true = 1} bool;  # ifndef __bool_true_false_are_defined
190    #  if ! HAVE__BOOL
191    #   ifdef __cplusplus
192    typedef bool _Bool;
193    #   else
194    typedef unsigned char _Bool;
195    #   endif
196    #  endif
197    #  define bool _Bool
198    #  define false 0
199    #  define true 1
200    #  define __bool_true_false_are_defined 1
201    # endif
202  #endif  #endif
203    
204    

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26