diff options
author | tnn <tnn> | 2007-08-05 11:20:47 +0000 |
---|---|---|
committer | tnn <tnn> | 2007-08-05 11:20:47 +0000 |
commit | 863db407becbb40896e648ba197cca276a76ac20 (patch) | |
tree | d5365220c3f1ed7c82d9c8f45a0bd1ff1a1d0c52 /pkgtools/posix_headers | |
parent | b4dd589b5b67aed5a95ec7a6c9d0c141148341cd (diff) | |
download | pkgsrc-863db407becbb40896e648ba197cca276a76ac20.tar.gz |
Tru64 doesn't have strtoll, but alpha is a pure LP64 platform so we can
just define it to strtol and most consumers of strtoll should be happy.
Diffstat (limited to 'pkgtools/posix_headers')
-rw-r--r-- | pkgtools/posix_headers/files/stdlib.h.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/posix_headers/files/stdlib.h.in b/pkgtools/posix_headers/files/stdlib.h.in index 61c32ef8f71..472b15d705b 100644 --- a/pkgtools/posix_headers/files/stdlib.h.in +++ b/pkgtools/posix_headers/files/stdlib.h.in @@ -1,5 +1,9 @@ -#if !defined(@strtoll@) || defined(__hpux) +#if !defined(@strtoll@) && defined(__hpux) @include <inttypes.h> @define strtoll __strtoll @define strtoull __strtoull #endif +#if !defined(@strtoll@) && defined(__digital__) +@define strtoll strtol +@define strtoull strtoul +#endif |