mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
lib9: enable on Plan 9
This change depends on CL 57170052. LGTM=rsc R=rsc, bradfitz CC=golang-codereviews https://golang.org/cl/60840049
This commit is contained in:
parent
705d7c164f
commit
174b8c95f5
44 changed files with 170 additions and 18 deletions
|
|
@ -2,8 +2,10 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
#include "/sys/include/libc.h"
|
||||
#include "/sys/include/ctype.h"
|
||||
#include "fmt.h"
|
||||
#include "utf.h"
|
||||
#include "libc_plan9.h"
|
||||
|
||||
char* getgoos(void);
|
||||
char* getgoarch(void);
|
||||
|
|
@ -26,3 +28,6 @@ void flagprint(int);
|
|||
// The libraries use size_t to avoid -Wconversion warnings from GCC
|
||||
// when calling standard library functions like memcpy.
|
||||
typedef unsigned long size_t;
|
||||
|
||||
// math.h
|
||||
#define HUGE_VAL 1.79769313486231e+308
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue