summary refs log tree commit diff
path: root/src/system.h
diff options
context:
space:
mode:
authorMark Mentovai <mmentovai@gmail.com>2009-01-13 15:21:35 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2009-01-13 15:21:35 +1100
commit45d2ed830766c316138a7910b1bde96e32719349 (patch)
tree5326924cbbd25019920988ca4bd0891be8d02b94 /src/system.h
parent[BUILD] Fixed build on NetBSD (diff)
downloaddash-45d2ed830766c316138a7910b1bde96e32719349.tar.gz
dash-45d2ed830766c316138a7910b1bde96e32719349.zip
[BUILD] Fixed build on OS X
Hi, Herbert and friends.  I've created a small patch that allows dash
to be built on Mac OS X.  I'm contributing it here with the hope that
it's suitable for inclusion in dash.

The changes in this patch are:

- __attribute__((__alias__())) is not supported, add an autoconf check
- open64 is not present although the stat64 family is, separate the
  autoconf checks
- A syntax error had slipped into a non-glibc codepath
- mkbuiltins had a nonportable mktemp invocation for the case where
  tempfile is not availalble

Nothing in this patch is actually Mac OS X-specific, so it might aid
portability to other platforms as well.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/system.h')
0 files changed, 0 insertions, 0 deletions