Commit d6927cc9 by Tom Wood

(NULL_PTR): Use the same definition as

	rtl.h and tree.h.

From-SVN: r1847
parent 5856c581
...@@ -45,12 +45,22 @@ struct arglist { ...@@ -45,12 +45,22 @@ struct arglist {
int argno; int argno;
}; };
/* Define a generic NULL if one hasn't already been defined. */
#ifndef NULL #ifndef NULL
#define NULL 0 #define NULL 0
#endif #endif
#ifndef GENERIC_PTR
#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
#define GENERIC_PTR void *
#else
#define GENERIC_PTR char *
#endif
#endif
#ifndef NULL_PTR #ifndef NULL_PTR
#define NULL_PTR (char *) NULL #define NULL_PTR ((GENERIC_PTR)0)
#endif #endif
int yylex (); int yylex ();
......
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