mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Use lrand48() instead of random() if defined(__hpux).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@60 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d81b9725a6
commit
5d4043f781
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
#include <objc/Object.h>
|
||||
#include <objects/objects.h>
|
||||
|
||||
#if (__svr4__)
|
||||
#if (__svr4__) || defined(__hpux)
|
||||
long lrand48();
|
||||
#define random lrand48
|
||||
#else
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#define N 20
|
||||
|
||||
#if (sun && __svr4__)
|
||||
#if (sun && __svr4__) || defined(__hpux)
|
||||
long lrand48();
|
||||
#define random lrand48
|
||||
#else
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <objects/objects.h>
|
||||
|
||||
#if (sun && __svr4__)
|
||||
#if (sun && __svr4__) || defined(__hpux)
|
||||
long lrand48();
|
||||
#define random lrand48
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue