diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-15 13:02:13 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-15 13:02:13 +0000 |
commit | bc46671a9bcacca1e2fab1dd6468e72d954230bf (patch) | |
tree | 9ac3998bb78063fd58ae3841acc519da88e9b048 /include/stdlib.h | |
parent | d5bb6d12f1ffee55f3287cf92a59ed1d8100e737 (diff) |
Patch from Jarkko to fix drand48 to not use long long when
long long support is disabled in the uClibc Config.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 59aded8f0..555d48a55 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -505,6 +505,8 @@ struct drand48_data unsigned short int __init; /* Flag for initializing. */ #ifdef __UCLIBC_HAS_LONG_LONG__ unsigned long long int __a; /* Factor in congruential formula. */ +#else + unsigned long __a0, __a1; #endif /* __UCLIBC_HAS_LONG_LONG__ */ }; |