diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-02-21 04:17:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-02-21 04:17:20 +0000 |
commit | a3dbf764ae79f617b1710dbffd7698057d98c5f9 (patch) | |
tree | 8c3438b2ec8fe5d78be2332c12e39da3187460af /libgo/go/os/dir_regfile.go | |
parent | 086bb4b9cd0780609f150e03cad8490bb734ccd8 (diff) | |
download | gcc-a3dbf764ae79f617b1710dbffd7698057d98c5f9.tar.gz |
Support libgo on Solaris.
From Rainer Orth.
From-SVN: r170355
Diffstat (limited to 'libgo/go/os/dir_regfile.go')
-rw-r--r-- | libgo/go/os/dir_regfile.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/go/os/dir_regfile.go b/libgo/go/os/dir_regfile.go new file mode 100644 index 00000000000..22fb5febbb2 --- /dev/null +++ b/libgo/go/os/dir_regfile.go @@ -0,0 +1,12 @@ +// dir_regfile.go -- For systems which do not use the large file interface +// for readdir_r. + +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package os + +import "syscall" + +func libc_readdir_r(*syscall.DIR, *syscall.Dirent, **syscall.Dirent) int __asm__ ("readdir_r") |