libiberty: fix bad replacement.
libiberty/ChangeLog: * random.c: Remove 'define PTR'.
This commit is contained in:
parent
137da38377
commit
9cb69e7884
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue