diff options
author | Lucio De Re <lucio.dere@gmail.com> | 2011-06-14 14:14:11 -0400 |
---|---|---|
committer | Lucio De Re <lucio.dere@gmail.com> | 2011-06-14 14:14:11 -0400 |
commit | fffcd6cf3d4a9aa97751e8ec30fc410e2faf207d (patch) | |
tree | 322b79e39bb763e5a93c10337ea46bd49ce13a06 /include | |
parent | d4901d29fc91906aaa3a721197382614834d0296 (diff) | |
download | go-fffcd6cf3d4a9aa97751e8ec30fc410e2faf207d.tar.gz |
build: fix header files for Plan 9
The "elf.h" header changes involve only comments, the released
Plan 9 C preprocessing function does not cope with multiline
comments following the #define keyword. All multiline comments
have been moved to the line above the associated definition.
Sigh! Fixing the Plan 9 compiler is not an option.
<time.h> does not exist in the Plan 9 Native library. I have
moved it from src/cmd/ld/pe.h to include/u.h. RSC correctly points
out that this copy of <u.h> is not the one used to compile the
Go release on Plan 9 platforms.
R=golang-dev
CC=golang-dev, rsc
http://codereview.appspot.com/4574042
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/u.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h index 690b2f616..9ee7493b4 100644 --- a/include/u.h +++ b/include/u.h @@ -69,6 +69,7 @@ extern "C" { #include <math.h> #include <ctype.h> /* for tolower */ #include <signal.h> +#include <time.h> /* * OS-specific crap |