Define __PTR_TO_INT and __INT_TO_PTR.

From-SVN: r8455
This commit is contained in:
Jason Merrill 1994-11-16 00:45:41 +00:00
parent 20e76cb977
commit d377038a55
3 changed files with 14 additions and 0 deletions

View File

@ -7,3 +7,8 @@
#define bcmp(a,b,c) memcmp (a,b,c)
#define index strchr
#define rindex strrchr
/* Override part of the obstack macros. */
#define __PTR_TO_INT(P) ((int)(P))
#define __INT_TO_PTR(P) ((char *)(P))

View File

@ -20,3 +20,7 @@
#define USE_C_ALLOCA
#endif
/* Override part of the obstack macros. */
#define __PTR_TO_INT(P) ((int)(P))
#define __INT_TO_PTR(P) ((char *)(P))

View File

@ -36,3 +36,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef __GNUC__
#define USE_C_ALLOCA
#endif
/* Override part of the obstack macros. */
#define __PTR_TO_INT(P) ((int)(P))
#define __INT_TO_PTR(P) ((char *)(P))