Commit d377038a by Jason Merrill

Define __PTR_TO_INT and __INT_TO_PTR.

From-SVN: r8455
parent 20e76cb9
......@@ -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))
......@@ -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))
......@@ -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))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment