libiberty: fix bad replacement.

libiberty/ChangeLog:

	* random.c: Remove 'define PTR'.
This commit is contained in:
Martin Liska 2022-05-10 17:00:34 +02:00
parent 137da38377
commit 9cb69e7884

View File

@ -68,12 +68,10 @@ control over the state of the random number generator.
#define LONG_MAX ((long)(ULONG_MAX >> 1)) /* 0x7FFFFFFF for 32-bits*/ #define LONG_MAX ((long)(ULONG_MAX >> 1)) /* 0x7FFFFFFF for 32-bits*/
#ifdef __STDC__ #ifdef __STDC__
# define void *void *
# ifndef NULL # ifndef NULL
# define NULL (void *) 0 # define NULL (void *) 0
# endif # endif
#else #else
# define void *char *
# ifndef NULL # ifndef NULL
# define NULL (void *) 0 # define NULL (void *) 0
# endif # endif