mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
libiberty: fix bad replacement.
libiberty/ChangeLog: * random.c: Remove 'define PTR'.
This commit is contained in:
parent
137da38377
commit
9cb69e7884
@ -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…
Reference in New Issue
Block a user