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. |
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 |