1
0
mirror of https://github.com/golang/go synced 2024-11-24 20:20:03 -07:00

include/plan9: define size_t to fix build breakage

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/10760043
This commit is contained in:
Ian Lance Taylor 2013-06-28 12:16:33 -07:00
parent 0713293374
commit e88478f1e0

View File

@ -22,3 +22,7 @@ void flagfn0(char*, char*, void(*fn)(void));
void flagfn1(char*, char*, void(*fn)(char*)); void flagfn1(char*, char*, void(*fn)(char*));
void flagfn2(char*, char*, void(*fn)(char*, char*)); void flagfn2(char*, char*, void(*fn)(char*, char*));
void flagprint(int); 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;