From bc034b7d63040f413568495b7f82dd509b0d9e18 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Mon, 9 Dec 2013 18:39:58 -0500 Subject: build: do not use the host's libbio on Plan 9 R=jas, lucio.dere, rsc CC=golang-dev https://codereview.appspot.com/14604047 Committer: Russ Cox --- include/bio.h | 2 -- include/plan9/bio.h | 8 ++++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 include/plan9/bio.h (limited to 'include') diff --git a/include/bio.h b/include/bio.h index 5506c7c32..c9c3332e8 100644 --- a/include/bio.h +++ b/include/bio.h @@ -33,8 +33,6 @@ extern "C" { AUTOLIB(bio) #endif -#include /* for O_RDONLY, O_WRONLY */ - typedef struct Biobuf Biobuf; enum diff --git a/include/plan9/bio.h b/include/plan9/bio.h new file mode 100644 index 000000000..13d5e0ef2 --- /dev/null +++ b/include/plan9/bio.h @@ -0,0 +1,8 @@ +// Copyright 2013 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. + +#include "../bio.h" + +#define fmtcharstod charstod +#define lseek seek -- cgit v1.2.1