Really install NULL_PTR change

From-SVN: r1854
This commit is contained in:
Tom Wood 1992-08-15 00:20:19 +00:00
parent e2aab13d8a
commit 26ba9d2636

View File

@ -47,12 +47,22 @@ compilation is specified by a string called a "spec". */
#define X_OK 1 #define X_OK 1
#endif #endif
/* 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
#ifdef USG #ifdef USG