/[bison]/bison/lib/obstack.h
ViewVC logotype

Diff of /bison/lib/obstack.h

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

revision 1.6 by eggert, Fri Dec 13 11:24:16 2002 UTC revision 1.7 by eggert, Sat Jan 4 01:37:48 2003 UTC
# Line 1  Line 1 
1  /* obstack.h - object stack macros  /* obstack.h - object stack macros
2     Copyright (C) 1988,89,90,91,92,93,94,96,97,98,99 Free Software Foundation, Inc.     Copyright (C) 1988,89,90,91,92,93,94,96,97,98,99,2003 Free Software Foundation, Inc.
3    
4     This file is part of the GNU C Library.  Its master source is NOT part of     This file is part of the GNU C Library.  Its master source is NOT part of
5     the C library, however.  The master source lives in /gd/gnu/lib.     the C library, however.  The master source lives in /gd/gnu/lib.
# Line 123  extern "C" { Line 123  extern "C" {
123  #endif  #endif
124    
125  #ifndef __INT_TO_PTR  #ifndef __INT_TO_PTR
126    #if defined __STDC__ && __STDC__
127    # define __INT_TO_PTR(P) ((void *) ((P) + (char *) 0))
128    #else
129  # define __INT_TO_PTR(P) ((P) + (char *) 0)  # define __INT_TO_PTR(P) ((P) + (char *) 0)
130  #endif  #endif
131    #endif
132    
133  /* We need the type of the resulting object.  If __PTRDIFF_TYPE__ is  /* We need the type of the resulting object.  If __PTRDIFF_TYPE__ is
134     defined, as with GNU C, use that; that way we don't pollute the     defined, as with GNU C, use that; that way we don't pollute the

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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